]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Consider host PF for inline mode and vlan pop
authorBodong Wang <bodong@mellanox.com>
Fri, 28 Jun 2019 22:36:22 +0000 (22:36 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Jul 2019 23:40:31 +0000 (16:40 -0700)
commite2d0543013fba1f11446d35d617594f085e5c565
tree9c8a7da94871d2850ceb27d827b92072c752ce3d
parentc8e91871e67670292c10b49048c59e50bbc409cf
net/mlx5: E-Switch, Consider host PF for inline mode and vlan pop

When ECPF is the eswitch manager, host PF is treated like other VFs.
Driver should do the same for inline mode and vlan pop.

Add new iterators to include host PF if ECPF is the eswitch manager.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
include/linux/mlx5/vport.h