]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Allow co-enablement of uplink LAG and SRIOV
authorRabie Loulou <rabiel@mellanox.com>
Wed, 23 May 2018 11:19:07 +0000 (14:19 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 14 Dec 2018 21:28:54 +0000 (13:28 -0800)
commit1965c9f924a02ede1502d8f907ab91de29e47137
treed6f639e67b31e3c467ee75c0067ded5f096153c9
parent85a807f3de6cb5bc713d521202ddcef03b684986
net/mlx5: Allow co-enablement of uplink LAG and SRIOV

Enable setting uplink LAG if sriov is enabled on both ports in switchdev
mode.

Once the sriov mode is changed from switchdev for any of the ports, the
LAG instance is disabled.

Signed-off-by: Rabie Loulou <rabiel@mellanox.com>
Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c