Searched refs:fwd_rule (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | egress_ofld.c | 11 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() 56 vport->egress.offloads.fwd_rule = in esw_acl_egress_ofld_fwd2vport_create() 59 if (IS_ERR(vport->egress.offloads.fwd_rule)) { in esw_acl_egress_ofld_fwd2vport_create() 60 err = PTR_ERR(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_create() 64 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_create()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | indir_table.c | 34 struct mlx5_flow_handle *fwd_rule; member 236 e->fwd_rule = mlx5_add_flow_rules(e->ft, NULL, &flow_act, &dest, 1); in mlx5_create_indir_fwd_group() 237 if (IS_ERR(e->fwd_rule)) { in mlx5_create_indir_fwd_group() 239 err = PTR_ERR(e->fwd_rule); in mlx5_create_indir_fwd_group() 376 mlx5_del_flow_rules(e->fwd_rule); in mlx5_esw_indir_table_put()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_eswitch_br.h | 16 struct ice_rule_query_data *fwd_rule; member
|
H A D | ice_eswitch_br.c | 232 struct ice_rule_query_data *fwd_rule, *guard_rule; in ice_eswitch_br_flow_create() local 240 fwd_rule = ice_eswitch_br_fwd_rule_create(hw, vsi_idx, port_type, mac, in ice_eswitch_br_flow_create() 242 err = PTR_ERR_OR_ZERO(fwd_rule); in ice_eswitch_br_flow_create() 259 flow->fwd_rule = fwd_rule; in ice_eswitch_br_flow_create() 265 ice_eswitch_br_rule_delete(hw, fwd_rule); in ice_eswitch_br_flow_create() 291 err = ice_eswitch_br_rule_delete(&pf->hw, flow->fwd_rule); in ice_eswitch_br_flow_delete()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 144 struct mlx5_flow_handle *fwd_rule; member
|
H A D | eswitch_offloads.c | 872 bool fwd_rule) in __mlx5_eswitch_del_rule() argument 892 if (fwd_rule || split) { in __mlx5_eswitch_del_rule() 899 if (fwd_rule) { in __mlx5_eswitch_del_rule()
|