1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /* Copyright (c) 2020 Mellanox Technologies Inc. All rights reserved. */
4 #ifndef __MLX5_ESWITCH_ACL_OFLD_H__
5 #define __MLX5_ESWITCH_ACL_OFLD_H__
9 /* Eswitch acl egress external APIs */
10 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport);
13 /* Eswitch acl ingress external APIs */
14 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
15 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
17 #endif /* __MLX5_ESWITCH_ACL_OFLD_H__ */