net/mlx5: E-switch, Move vport table functions to a new file
Currently, the vport table functions are in common eswitch offload file. This file is too big. Move the vport table create, delete and lookup functions to a separate file. Put the file in esw directory. Pre-step for generalizing its functionality for serving both the mirroring and the sample features. 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/Makefile 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/Makefile
- drivers/net/ethernet/mellanox/mlx5/core/esw/vporttbl.c 136 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/esw/vporttbl.c
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h 10 additions, 2 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch.h
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 36 additions, 179 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
Loading
Please register or sign in to comment