diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-06-19 01:54:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-19 18:00:22 -0400 |
commit | 5149ee58385bdfef260fb07a89a8ff0913be6b25 (patch) | |
tree | 556edbb864cff154dfef95858737fd900f6e9a24 /include/linux/if_team.h | |
parent | d299cd51166c156c77250f4cdd6363b74fd2f77e (diff) |
team: add mode priv to port
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index d45fcd5a188d..54af95f5d58b 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h | |||
@@ -61,6 +61,7 @@ struct team_port { | |||
61 | } orig; | 61 | } orig; |
62 | 62 | ||
63 | struct rcu_head rcu; | 63 | struct rcu_head rcu; |
64 | long mode_priv[0]; | ||
64 | }; | 65 | }; |
65 | 66 | ||
66 | struct team_mode_ops { | 67 | struct team_mode_ops { |
@@ -108,6 +109,7 @@ struct team_mode { | |||
108 | const char *kind; | 109 | const char *kind; |
109 | struct module *owner; | 110 | struct module *owner; |
110 | size_t priv_size; | 111 | size_t priv_size; |
112 | size_t port_priv_size; | ||
111 | const struct team_mode_ops *ops; | 113 | const struct team_mode_ops *ops; |
112 | }; | 114 | }; |
113 | 115 | ||