]> 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)
commit28d914a2d97d5560e340b8319123fa5dbbc0095b
treef7aa4d03bb9ce3ca510572402295d2dd9324c470
parentb7fefec24c8492dc9747d1eae6522baa9bfdc964
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