rvu_npc_exac...han_and_mask(9)
π rvu_npc_exact_save_drop_rule_chan_and_mask β the kernel API manual page, bestie edition π
okay so first things first, the page header is like rvu_npc_exac...han_and_mask(9) β yes it's abbreviated because kernel docs love a dramatic ellipsis β¨ β and the manual it lives in is the Kernel API Manual. Full function name in all its glory: rvu_npc_exact_save_drop_rule_chan_and_mask. Say that five times fast, I dare you π
πΈ NAME πΈ
rvu_npc_exact_save_drop_rule_chan_and_mask β literally just saves drop rules info into the data base. that's it. that's the whole job. no cap π
β¨ SYNOPSIS β¨
bool rvu_npc_exact_save_drop_rule_chan_and_mask (struct rvu *rvu , int
drop_mcam_idx , u64 chan_val , u64 chan_mask , u16 pcifunc );
π ARGUMENTS π
rvuβ the resource virtualization unit. the main character of the whole RVU cinematic universe, honestly π«Άdrop_mcam_idxβ drop rule index in NPC mcam. that's where in the mcam the drop rule sits, iykykchan_valβ Channel value. π«chan_maskβ Channel Mask. πpcifuncβ the pcifunc of the interface. yes bestie, that pcifunc π¦
π₯ RETURN π₯
Returns True upon success. that's the vibe check and it passed β
π SEE ALSO π
the whole friend group, in order, no one gets left out π
- Kernel file
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c 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_calc_drop_rule_chan_and_mask(9)rvu_npc_exact_drop_rule_to_pcifunc(9)rvu_npc_exact_get_drop_rule_info(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)
and that's the page!! π§ source path is ./drivers/net/ethernet/marvell... (truncated, she's mysterious like that π) and the date stamp is October 2026, so likeβ¦ future era energy fr fr. byeee, go save some drop rules π
π¦ 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