diff options
author | Jiri Pirko | 2015-12-03 12:12:13 +0100 |
---|---|---|
committer | David S. Miller | 2015-12-03 17:49:26 +0100 |
commit | 8fd728566a354f7bc9cb6e781f185b8c39cf505b (patch) | |
tree | e11f678462aa460370e9a1e6fb4644f1497b8696 /include/linux/if_team.h | |
parent | net: add info struct for LAG changeupper (diff) | |
download | kernel-qcow2-linux-8fd728566a354f7bc9cb6e781f185b8c39cf505b.tar.gz kernel-qcow2-linux-8fd728566a354f7bc9cb6e781f185b8c39cf505b.tar.xz kernel-qcow2-linux-8fd728566a354f7bc9cb6e781f185b8c39cf505b.zip |
team: fill-up LAG changeupper info struct and pass it along
Initialize netdev_lag_upper_info structure by TX type according to
current team mode and pass it along via netdev_master_upper_dev_link.
Signed-off-by: Jiri Pirko <jiri@mellanox.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index a6aa970758a2..b84e49c3a738 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h @@ -164,6 +164,7 @@ struct team_mode { size_t priv_size; size_t port_priv_size; const struct team_mode_ops *ops; + enum netdev_lag_tx_type lag_tx_type; }; #define TEAM_PORT_HASHBITS 4 |