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:

کامیت شده توسط
David S. Miller

والد
764f5e5441
کامیت
8fd728566a
@@ -46,6 +46,7 @@ static const struct team_mode rnd_mode = {
|
||||
.kind = "random",
|
||||
.owner = THIS_MODULE,
|
||||
.ops = &rnd_mode_ops,
|
||||
.lag_tx_type = NETDEV_LAG_TX_TYPE_RANDOM,
|
||||
};
|
||||
|
||||
static int __init rnd_init_module(void)
|
||||
|
مرجع در شماره جدید
Block a user