]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Support load/unload reps of specific vport types
authorBodong Wang <bodong@mellanox.com>
Wed, 30 Jan 2019 04:57:21 +0000 (22:57 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 16 Feb 2019 01:25:57 +0000 (17:25 -0800)
commite15f42d0d6be08e25e44752862cba25c73a4c762
treef7aa4d03bb9ce3ca510572402295d2dd9324c470
parentc3cc3aa5cfa9832b9b2cb2e3d80c7ba563c43786
net/mlx5: E-Switch, Support load/unload reps of specific vport types

Currently the driver loads and unloads all reps in an unbreakable
group. However, with ECPF, the reps of special vports such as uplink
and host PF should always be loaded in switchdev mode where the reps
for VFs will be loaded on-demand and unloaded on no-demand. This is
a pre-step for that change.

This patch doesn't change any functionality.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c