rvu_npc_exac...op_rule_info(9)
okay bestie, welcome to rvu_npc_exac...op_rule_info(9) β the Kernel API Manual page for this drop-rule-info moment π
. No cap, itβs short and sweet, and every argument is about to get its moment. Letβs go β¨
π NAME π
rvu_npc_exact_get_drop_rule_info β get drop rule information. Thatβs the whole vibe: grab the info about a drop rule. π
β¨ SYNOPSIS β¨
bool rvu_npc_exact_get_drop_rule_info (struct rvu *rvu , u8 intf_type ,
u8 cgx_id , u8 lmac_id , u32 *drop_mcam_idx , u64 *val , u64 *mask , u16
*pcifunc );
πΈ ARGUMENTS πΈ
rvuβ the resource virtualization unit. π«Άintf_typeβ Interface type (CGX,SDPorLBK). iykyk.cgx_idβ the CGX identifier.lmac_idβ the LMAC identifier.drop_mcam_idxβ the NPC mcam drop rule index. iconic little index, honestly.valβ the Channel value.maskβ the Channel mask.pcifuncβ the pcifunc of the interface corresponding to the drop rule.
π«Ά RETURN π«Ά
True upon success. Thatβs the return tea: success gives you True. π
π SEE ALSO π
the kernel file, bestie: ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
and these iconic siblings:
rvu_exact_prepare_mdata(9)rvu_exact_calculate_hash(9)rvu_npc_exact_alloc_mem_table_entry(9)rvu_npc_exact_free_id(9)rvu_npc_exact_alloc_id(9)rvu_npc_exact_alloc_cam_table_entry(9)rvu_exact_prepare_table_entry(9)rvu_exact_config_secret_key(9)rvu_exact_config_search_key(9)rvu_exact_config_result_ctrl(9)rvu_exact_config_table_mask(9)rvu_npc_exact_get_max_entries(9)rvu_npc_exact_has_match_table(9)__rvu_npc_exact_find_entry_by_seq_id(9)rvu_npc_exact_add_to_list(9)rvu_npc_exact_mem_table_write(9)rvu_npc_exact_cam_table_write(9)rvu_npc_exact_dealloc_table_entry(9)rvu_npc_exact_alloc_table_entry(9)rvu_npc_exact_save_drop_rule_chan_and_mask(9)rvu_npc_exact_calc_drop_rule_chan_and_mask(9)rvu_npc_exact_drop_rule_to_pcifunc(9)__rvu_npc_exact_cmd_rules_cnt_update(9)rvu_npc_exact_del_table_entry_by_id(9)rvu_npc_exact_add_table_entry(9)rvu_npc_exact_update_table_entry(9)rvu_npc_exact_promisc_disable(9)rvu_npc_exact_promisc_enable(9)rvu_npc_exact_mac_addr_reset(9)rvu_npc_exact_mac_addr_update(9)rvu_npc_exact_mac_addr_add(9)rvu_npc_exact_mac_addr_del(9)rvu_npc_exact_mac_addr_set(9)rvu_npc_exact_can_disable_feature(9)rvu_npc_exact_disable_feature(9)rvu_npc_exact_reset(9)rvu_npc_exact_init(9)
xoxo, bestie β source/version vibes: ./drivers/net/ethernet/marvell..., October 2026 π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms