aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
diff options
context:
space:
mode:
authorVu Pham <vuhuong@mellanox.com>2020-03-27 23:12:22 -0700
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-27 18:13:47 -0700
commit07bab9502641dff9c3c864162270d12c6dd0e834 (patch)
treef5b3fb980604ff123a795a3cb31f9d1db77d0609 /drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
parentnet/mlx5: E-Switch, Refactor eswitch egress acl codes (diff)
downloadwireguard-linux-07bab9502641dff9c3c864162270d12c6dd0e834.tar.xz
wireguard-linux-07bab9502641dff9c3c864162270d12c6dd0e834.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h b/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
index 6b05a3af4462..44c152da3d83 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h
@@ -10,4 +10,8 @@
int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
+/* Eswitch acl ingress external APIs */
+int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
+void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
+
#endif /* __MLX5_ESWITCH_ACL_LGCY_H__ */