Lines Matching defs:esw
11 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
14 int mlx5_esw_acl_egress_vport_bond(struct mlx5_eswitch *esw, u16 active_vport_num,
16 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num);
18 static inline bool mlx5_esw_acl_egress_fwd2vport_supported(struct mlx5_eswitch *esw)
20 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS &&
21 mlx5_eswitch_vport_match_metadata_enabled(esw) &&
22 MLX5_CAP_ESW_FLOWTABLE(esw->dev, egress_acl_forward_to_vport);
26 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
27 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
28 int mlx5_esw_acl_ingress_vport_metadata_update(struct mlx5_eswitch *esw, u16 vport_num,
30 void mlx5_esw_acl_ingress_vport_drop_rule_destroy(struct mlx5_eswitch *esw, u16 vport_num);
31 int mlx5_esw_acl_ingress_vport_drop_rule_create(struct mlx5_eswitch *esw, u16 vport_num);
35 mlx5_esw_acl_ingress_vport_drop_rule_destroy(struct mlx5_eswitch *esw,
39 static int mlx5_esw_acl_ingress_vport_drop_rule_create(struct mlx5_eswitch *esw,