Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_ofld.c11 if (!vport->egress.offloads.fwd_rule) in esw_acl_egress_ofld_fwd2vport_destroy()
14 mlx5_del_flow_rules(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_destroy()
15 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_destroy()
42 vport->egress.offloads.fwd_rule = in esw_acl_egress_ofld_fwd2vport_create()
45 if (IS_ERR(vport->egress.offloads.fwd_rule)) { in esw_acl_egress_ofld_fwd2vport_create()
46 err = PTR_ERR(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_create()
50 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c40 struct mlx5_flow_handle *fwd_rule; member
373 e->fwd_rule = mlx5_add_flow_rules(e->ft, spec, &flow_act, &dest, 1); in mlx5_create_indir_fwd_group()
374 if (IS_ERR(e->fwd_rule)) { in mlx5_create_indir_fwd_group()
376 err = PTR_ERR(e->fwd_rule); in mlx5_create_indir_fwd_group()
517 mlx5_del_flow_rules(e->fwd_rule); in mlx5_esw_indir_table_put()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h136 struct mlx5_flow_handle *fwd_rule; member
Deswitch_offloads.c752 bool fwd_rule) in __mlx5_eswitch_del_rule() argument
772 if (fwd_rule || split) { in __mlx5_eswitch_del_rule()
779 if (fwd_rule) { in __mlx5_eswitch_del_rule()