Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c40 struct mlx5_flow_handle *fwd_rule; member
369 e->fwd_rule = mlx5_add_flow_rules(e->ft, spec, &flow_act, &dest, 1); in mlx5_create_indir_fwd_group()
370 if (IS_ERR(e->fwd_rule)) { in mlx5_create_indir_fwd_group()
372 err = PTR_ERR(e->fwd_rule); in mlx5_create_indir_fwd_group()
513 mlx5_del_flow_rules(e->fwd_rule); in mlx5_esw_indir_table_put()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h130 struct mlx5_flow_handle *fwd_rule; member
Deswitch_offloads.c670 bool fwd_rule) in __mlx5_eswitch_del_rule() argument
690 if (fwd_rule || split) { in __mlx5_eswitch_del_rule()
697 if (fwd_rule) { in __mlx5_eswitch_del_rule()