rvu_exact_prepare_mdata(9)
π rvu_exact_prepare_mdata(9) β Kernel API Manual, bestie edition β¨
okay so picture this: it's a section 9 kernel API page, the manual is literally called Kernel API Manual, and the star of the show is rvu_exact_prepare_mdata. yes we're in the Marvell octeontx2 rvu_npc_hash.c trenches and honestly? it's giving main character energy. π¦
πΈ NAME πΈ
rvu_exact_prepare_mdata β makes the mdata for an mcam entry. that's it, that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
u64 rvu_exact_prepare_mdata (u8 *mac , u16 chan , u16 ctype , u64 mask
);
like, copy it exactly please, i'm not about to get dragged for a typo π
π ARGUMENTS π
macβ the MAC address. you know her, you love her. πchanβ channel number.ctypeβ channel type. yes it's different fromchan, no they will not let you forget it.maskβ the LDATA mask. slay. β
π₯ RETURN π₯
returns the Meta data. that's it. that's what you get back. π«Ά
π§ SEE ALSO π§
bestie the friend group here is massive, so buckle up β first off, the source file itself lives at:
- kernel file
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
and then the whole squad, every single one of them, no skipping (iykyk):
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_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)
go read rvu_npc_exact_init(9) first if you're new here, it sets the whole scene. you're welcome π
and that's the whole page, periodt. π shoutout to the footer for the receipts: the source path got truncated to ./drivers/net/ethernet/marvell... and the date is October 2026, on the rvu_exact_prepare_mdata(9) page. mwah, bye bestie πππ
π¦ 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