diff options
author | Jiri Pirko <jiri@mellanox.com> | 2015-12-03 14:12:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 19:49:26 +0300 |
commit | 8fd728566a354f7bc9cb6e781f185b8c39cf505b (patch) | |
tree | e11f678462aa460370e9a1e6fb4644f1497b8696 /drivers/net/team/team_mode_roundrobin.c | |
parent | 764f5e544118508add420724789f46e04dba91eb (diff) | |
download | linux-8fd728566a354f7bc9cb6e781f185b8c39cf505b.tar.xz |
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 'drivers/net/team/team_mode_roundrobin.c')
-rw-r--r-- | drivers/net/team/team_mode_roundrobin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/team/team_mode_roundrobin.c b/drivers/net/team/team_mode_roundrobin.c index 53665850b59e..0aa234118c03 100644 --- a/drivers/net/team/team_mode_roundrobin.c +++ b/drivers/net/team/team_mode_roundrobin.c @@ -58,6 +58,7 @@ static const struct team_mode rr_mode = { .owner = THIS_MODULE, .priv_size = sizeof(struct rr_priv), .ops = &rr_mode_ops, + .lag_tx_type = NETDEV_LAG_TX_TYPE_ROUNDROBIN, }; static int __init rr_init_module(void) |