]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Refactor unload all reps per rep type
authorBodong Wang <bodong@mellanox.com>
Tue, 12 Nov 2019 17:56:12 +0000 (11:56 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Mar 2020 23:26:15 +0000 (16:26 -0700)
commit9e1b582b98fb56895badd2c09d0c55c83137a7d8
tree447473d546812b422052c6da230ccaca3aa7d203
parent0129383b11f48e5605d07c577cf1edad5840195c
net/mlx5: E-Switch, Refactor unload all reps per rep type

Following introduction of per vport configuration of vport and rep,
unload all reps per rep type is still needed as IB reps can be
unloaded individually. However, a few internal functions exist purely
for this purpose, merge them to a single function.

This patch doesn't change any existing functionality.

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