]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-switch, Move vport table functions to a new file
authorChris Mi <cmi@nvidia.com>
Mon, 31 Aug 2020 05:22:20 +0000 (13:22 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Apr 2021 04:36:01 +0000 (21:36 -0700)
commit569a250e63c2db723ba1557bb5ecf30a31873f4d
tree11370509ea5b1e8c47db329b1c4b7bad149b6dfa
parentf948ebe91cfe6e7f4adf6dce08b9232e558da991
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>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/esw/vporttbl.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c