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)
commit07bab9502641dff9c3c864162270d12c6dd0e834
treef5b3fb980604ff123a795a3cb31f9d1db77d0609
parentea651a86d46895a8b342664db66c3dee3412ad34
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