Home
last modified time | relevance | path

Searched refs:drop_grp (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_lgcy.c23 struct mlx5_flow_group *drop_grp; in esw_acl_egress_lgcy_groups_create() local
39 drop_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_lgcy_groups_create()
40 if (IS_ERR(drop_grp)) { in esw_acl_egress_lgcy_groups_create()
41 err = PTR_ERR(drop_grp); in esw_acl_egress_lgcy_groups_create()
47 vport->egress.legacy.drop_grp = drop_grp; in esw_acl_egress_lgcy_groups_create()
60 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_grp)) { in esw_acl_egress_lgcy_groups_destroy()
61 mlx5_destroy_flow_group(vport->egress.legacy.drop_grp); in esw_acl_egress_lgcy_groups_destroy()
62 vport->egress.legacy.drop_grp = NULL; in esw_acl_egress_lgcy_groups_destroy()
Dingress_ofld.c129 flow_act.fg = vport->ingress.offloads.drop_grp; in esw_acl_ingress_src_port_drop_create()
219 vport->ingress.offloads.drop_grp = g; in esw_acl_ingress_ofld_groups_create()
275 if (!IS_ERR_OR_NULL(vport->ingress.offloads.drop_grp)) { in esw_acl_ingress_ofld_groups_create()
276 mlx5_destroy_flow_group(vport->ingress.offloads.drop_grp); in esw_acl_ingress_ofld_groups_create()
277 vport->ingress.offloads.drop_grp = NULL; in esw_acl_ingress_ofld_groups_create()
296 if (vport->ingress.offloads.drop_grp) { in esw_acl_ingress_ofld_groups_destroy()
297 mlx5_destroy_flow_group(vport->ingress.offloads.drop_grp); in esw_acl_ingress_ofld_groups_destroy()
298 vport->ingress.offloads.drop_grp = NULL; in esw_acl_ingress_ofld_groups_destroy()
Dingress_lgcy.c95 vport->ingress.legacy.drop_grp = g; in esw_acl_ingress_lgcy_groups_create()
133 if (vport->ingress.legacy.drop_grp) { in esw_acl_ingress_lgcy_groups_destroy()
134 mlx5_destroy_flow_group(vport->ingress.legacy.drop_grp); in esw_acl_ingress_lgcy_groups_destroy()
135 vport->ingress.legacy.drop_grp = NULL; in esw_acl_ingress_lgcy_groups_destroy()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h105 struct mlx5_flow_group *drop_grp; member
119 struct mlx5_flow_group *drop_grp; member
138 struct mlx5_flow_group *drop_grp; member