Home
last modified time | relevance | path

Searched refs:rule_id (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_dbg.c107 dr_dump_rule_action_mem(struct seq_file *file, const u64 rule_id, in dr_dump_rule_action_mem() argument
118 DR_DUMP_REC_TYPE_ACTION_DROP, action_id, rule_id); in dr_dump_rule_action_mem()
124 rule_id, action->dest_tbl->fw_tbl.id, in dr_dump_rule_action_mem()
129 rule_id, action->dest_tbl->tbl->table_id, in dr_dump_rule_action_mem()
135 DR_DUMP_REC_TYPE_ACTION_CTR, action_id, rule_id, in dr_dump_rule_action_mem()
140 DR_DUMP_REC_TYPE_ACTION_TAG, action_id, rule_id, in dr_dump_rule_action_mem()
155 rule_id, action->rewrite->index, in dr_dump_rule_action_mem()
173 DR_DUMP_REC_TYPE_ACTION_VPORT, action_id, rule_id, in dr_dump_rule_action_mem()
179 rule_id); in dr_dump_rule_action_mem()
184 rule_id, in dr_dump_rule_action_mem()
[all …]
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_flower.c1269 int rule_id) in sparx5_tc_free_rule_resources() argument
1276 vrule = vcap_get_rule(vctrl, rule_id); in sparx5_tc_free_rule_resources()
1291 int err = -ENOENT, count = 0, rule_id; in sparx5_tc_flower_destroy() local
1296 rule_id = vcap_lookup_rule_by_cookie(vctrl, fco->cookie); in sparx5_tc_flower_destroy()
1297 if (rule_id <= 0) in sparx5_tc_flower_destroy()
1305 rule_id); in sparx5_tc_flower_destroy()
1308 __func__, __LINE__, rule_id); in sparx5_tc_flower_destroy()
1310 err = vcap_del_rule(vctrl, ndev, rule_id); in sparx5_tc_flower_destroy()
1313 __func__, __LINE__, rule_id); in sparx5_tc_flower_destroy()
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc_flower.c558 int err = -ENOENT, rule_id; in lan966x_tc_flower_del() local
562 rule_id = vcap_lookup_rule_by_cookie(vctrl, f->cookie); in lan966x_tc_flower_del()
563 if (rule_id <= 0) in lan966x_tc_flower_del()
566 err = vcap_del_rule(vctrl, port->dev, rule_id); in lan966x_tc_flower_del()
Dlan966x_ptp.c54 u32 rule_id, in lan966x_ptp_add_trap() argument
61 vrule = vcap_get_rule(lan966x->vcap_ctrl, rule_id); in lan966x_ptp_add_trap()
78 VCAP_USER_PTP, 0, rule_id); in lan966x_ptp_add_trap()
101 u32 rule_id) in lan966x_ptp_del_trap() argument
108 vrule = vcap_get_rule(lan966x->vcap_ctrl, rule_id); in lan966x_ptp_del_trap()
117 err = vcap_del_rule(lan966x->vcap_ctrl, port->dev, rule_id); in lan966x_ptp_del_trap()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_fltr.h49 ice_fltr_update_flags(struct ice_vsi *vsi, u16 rule_id, u16 recipe_id,
Dice_tc_lib.c742 fltr->rule_id = rule_added.rule_id; in ice_eswitch_add_tc_fltr()
968 tc_fltr->rule_id = rule_added.rule_id; in ice_add_tc_flower_adv_fltr()
989 rule_added.rule_id, rule_added.vsi_handle); in ice_add_tc_flower_adv_fltr()
995 rule_added.rule_id); in ice_add_tc_flower_adv_fltr()
999 lkups_cnt, flags, rule_added.rid, rule_added.rule_id); in ice_add_tc_flower_adv_fltr()
1796 rule_rem.rule_id = fltr->rule_id; in ice_del_tc_fltr()
Dice_tc_lib.h147 u16 rule_id; member
Dice_switch.h183 u16 rule_id; member
Dice_switch.c6142 added_entry->rule_id = m_entry->rule_info.fltr_rule_id; in ice_add_adv_rule()
6263 added_entry->rule_id = adv_fltr->rule_info.fltr_rule_id; in ice_add_adv_rule()
6552 remove_entry->rule_id) { in ice_rem_adv_rule_by_id()
Dice_main.c8443 rule.rule_id = fltr->rule_id; in ice_rem_all_chnl_fltrs()
8449 rule.rule_id); in ice_rem_all_chnl_fltrs()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.h222 u8 n_act, u32 *rule_id);
224 u32 vtcam_id, u32 rule_id);
Dprestera_hw.c454 __le32 rule_id; member
1372 u8 n_act, u32 *rule_id) in prestera_hw_vtcam_rule_add() argument
1412 *rule_id = __le32_to_cpu(resp.rule_id); in prestera_hw_vtcam_rule_add()
1419 u32 vtcam_id, u32 rule_id) in prestera_hw_vtcam_rule_del() argument
1423 .id = __cpu_to_le32(rule_id) in prestera_hw_vtcam_rule_del()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_dbg_hsi.h362 u16 rule_id; /* Failing rule index */ member
383 u16 rule_id; /* Idle Check rule ID */ member
Dqed_debug.c3719 u16 rule_id, in qed_idle_chk_dump_failure() argument
3741 hdr->rule_id = rule_id; in qed_idle_chk_dump_failure()
3909 rule->rule_id, in qed_idle_chk_dump_rule_entries()
3978 rule->rule_id, in qed_idle_chk_dump_rule_entries()
6514 hdr->rule_id; in qed_parse_idle_chk_dump_rules()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h181 u16 *rule_id, u16 *rules_used, u16 *rules_free);
183 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
Di40e_common.c2729 u16 *rule_id, u16 *rules_used, u16 *rules_free) in i40e_mirrorrule_op() argument
2760 if (rule_id) in i40e_mirrorrule_op()
2761 *rule_id = le16_to_cpu(resp->rule_id); in i40e_mirrorrule_op()
2789 u16 *rule_id, u16 *rules_used, u16 *rules_free) in i40e_aq_add_mirrorrule() argument
2799 cmd_details, rule_id, rules_used, rules_free); in i40e_aq_add_mirrorrule()
2818 u16 rule_type, u16 rule_id, u16 count, in i40e_aq_delete_mirrorrule() argument
2834 rule_type, rule_id, count, mr_list, in i40e_aq_delete_mirrorrule()
Di40e_adminq_cmd.h1252 __le16 rule_id; /* only used on add */ member
/Linux-v6.6/include/net/netfilter/
Dnf_tables.h1560 u32 rule_id; member
1569 (((struct nft_trans_rule *)trans->data)->rule_id)
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h758 u16 rule_id; member
Dhclge_main.c5573 action->rule_id); in hclge_fd_ad_config()
5817 ad_data.rule_id = rule->location; in hclge_config_action()