mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
team: add mode priv to port
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d299cd5116
commit
5149ee5838
2 changed files with 4 additions and 1 deletions
|
@ -61,6 +61,7 @@ struct team_port {
|
|||
} orig;
|
||||
|
||||
struct rcu_head rcu;
|
||||
long mode_priv[0];
|
||||
};
|
||||
|
||||
struct team_mode_ops {
|
||||
|
@ -108,6 +109,7 @@ struct team_mode {
|
|||
const char *kind;
|
||||
struct module *owner;
|
||||
size_t priv_size;
|
||||
size_t port_priv_size;
|
||||
const struct team_mode_ops *ops;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue