xref: /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/lgcy.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /* Copyright (c) 2020 Mellanox Technologies Inc. All rights reserved. */
3 
4 #ifndef __MLX5_ESWITCH_ACL_LGCY_H__
5 #define __MLX5_ESWITCH_ACL_LGCY_H__
6 
7 #include "eswitch.h"
8 
9 /* Eswitch acl egress external APIs */
10 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
12 
13 /* Eswitch acl ingress external APIs */
14 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
15 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
16 
17 #endif /* __MLX5_ESWITCH_ACL_LGCY_H__ */
18