Home
last modified time | relevance | path

Searched refs:fwd_grp (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_ofld.c120 struct mlx5_flow_group *fwd_grp; in esw_acl_egress_ofld_groups_create() local
147 fwd_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_ofld_groups_create()
148 if (IS_ERR(fwd_grp)) { in esw_acl_egress_ofld_groups_create()
149 ret = PTR_ERR(fwd_grp); in esw_acl_egress_ofld_groups_create()
156 vport->egress.offloads.fwd_grp = fwd_grp; in esw_acl_egress_ofld_groups_create()
168 if (!IS_ERR_OR_NULL(vport->egress.offloads.fwd_grp)) { in esw_acl_egress_ofld_groups_destroy()
169 mlx5_destroy_flow_group(vport->egress.offloads.fwd_grp); in esw_acl_egress_ofld_groups_destroy()
170 vport->egress.offloads.fwd_grp = NULL; in esw_acl_egress_ofld_groups_destroy()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dindir_table.c33 struct mlx5_flow_group *fwd_grp; member
224 e->fwd_grp = mlx5_create_flow_group(e->ft, in); in mlx5_create_indir_fwd_group()
225 if (IS_ERR(e->fwd_grp)) { in mlx5_create_indir_fwd_group()
226 err = PTR_ERR(e->fwd_grp); in mlx5_create_indir_fwd_group()
231 flow_act.fg = e->fwd_grp; in mlx5_create_indir_fwd_group()
238 mlx5_destroy_flow_group(e->fwd_grp); in mlx5_create_indir_fwd_group()
377 mlx5_destroy_flow_group(e->fwd_grp); in mlx5_esw_indir_table_put()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h143 struct mlx5_flow_group *fwd_grp; member