Home
last modified time | relevance | path

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

/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_fwd_grp_create() local
137 fwd_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_ofld_fwd_grp_create()
138 if (IS_ERR(fwd_grp)) { in esw_acl_egress_ofld_fwd_grp_create()
139 ret = PTR_ERR(fwd_grp); in esw_acl_egress_ofld_fwd_grp_create()
145 vport->egress.offloads.fwd_grp = fwd_grp; in esw_acl_egress_ofld_fwd_grp_create()
157 if (!IS_ERR_OR_NULL(vport->egress.offloads.fwd_grp)) { in esw_acl_egress_ofld_groups_destroy()
158 mlx5_destroy_flow_group(vport->egress.offloads.fwd_grp); in esw_acl_egress_ofld_groups_destroy()
159 vport->egress.offloads.fwd_grp = NULL; in esw_acl_egress_ofld_groups_destroy()
248 if (vport->egress.offloads.fwd_grp) in esw_acl_egress_ofld_fwd2vport_setup()
/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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h153 struct mlx5_flow_group *fwd_grp; member