]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Refactor eswitch ingress acl codes
authorVu Pham <vuhuong@mellanox.com>
Sat, 28 Mar 2020 06:12:22 +0000 (23:12 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 01:13:47 +0000 (18:13 -0700)
commitaf0a1f5ceb242ed38135a0c80e74be5771c7e6be
treef5b3fb980604ff123a795a3cb31f9d1db77d0609
parenteeaf895232416a911d446a1e52c087a91ced0889
net/mlx5: E-Switch, Refactor eswitch ingress acl codes

Restructure the eswitch ingress acl codes into eswitch directory
and different files:
. Acl ingress helper functions to acl_helper.c/h
. Acl ingress functions used in offloads mode to acl_ingress_ofld.c
. Acl ingress functions used in legacy mode to acl_ingress_lgy.c

This patch does not change any functionality.

Signed-off-by: Vu Pham <vuhuong@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/helper.c
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/helper.h
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_lgcy.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_ofld.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ofld.h
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