Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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()
H A Dingress_ofld.c140 flow_act.fg = vport->ingress.offloads.drop_grp; in esw_acl_ingress_src_port_drop_create()
235 vport->ingress.offloads.drop_grp = g; in esw_acl_ingress_ofld_groups_create()
291 if (!IS_ERR_OR_NULL(vport->ingress.offloads.drop_grp)) { in esw_acl_ingress_ofld_groups_create()
292 mlx5_destroy_flow_group(vport->ingress.offloads.drop_grp); in esw_acl_ingress_ofld_groups_create()
293 vport->ingress.offloads.drop_grp = NULL; in esw_acl_ingress_ofld_groups_create()
312 if (vport->ingress.offloads.drop_grp) { in esw_acl_ingress_ofld_groups_destroy()
313 mlx5_destroy_flow_group(vport->ingress.offloads.drop_grp); in esw_acl_ingress_ofld_groups_destroy()
314 vport->ingress.offloads.drop_grp = NULL; in esw_acl_ingress_ofld_groups_destroy()
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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