net/mlx5: E-switch, Generalize per vport table API
Currently, per vport table was used only for port mirroring actions. However, sample action will also require a per vport table instance. Generalize the vport table API to work with multiple namespaces where each namespace manages its own vport table instance. Signed-off-by:Chris Mi <cmi@nvidia.com> Reviewed-by:
Oz Shlomo <ozsh@nvidia.com> Reviewed-by:
Mark Bloch <mbloch@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/esw/vporttbl.c 8 additions, 7 deletionsdrivers/net/ethernet/mellanox/mlx5/core/esw/vporttbl.c
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h 7 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch.h
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 14 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
Please register or sign in to comment