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>
This commit is contained in:

committed by
David S. Miller

parent
764f5e5441
commit
8fd728566a
@@ -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)
|
||||
|
Reference in New Issue
Block a user