rvu_npc_exact_mac_addr_add(9)
π rvu_npc_exact_mac_addr_add(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the rvu_npc_exact_mac_addr_add(9) page, straight out of the Kernel API Manual β¨ this one is short and sweet and honestly kind of an icon for it β she adds a MAC address to the exact match table and that's literally the whole job. main character energy, no notes π
πΈ NAME πΈ
rvu_npc_exact_mac_addr_add β adds a MAC address to the exact match table. that's it, that's the vibe π
β¨ SYNOPSIS β¨
int rvu_npc_exact_mac_addr_add (struct rvu *rvu , struct
cgx_mac_addr_add_req *req , struct cgx_mac_addr_add_rsp *rsp );
she takes three little arguments and hands you back an int, slay π«Ά
π¦ ARGUMENTS π¦
rvuβ the resource virtualization unit. yes that's her full government name, we just call herrvuπreqβ the Add request. the actual "hey can u add this" energy π¨rspβ the Add response. what comes back at you π
π RETURN π
0upon success. zero is the good number here, we love a zero, no cap πβ¨
π SEE ALSO π
the kernel file in question lives at:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
and here is the full friend group β every single one of them tagged in the group chat, not a single mutual left out π«Ά:
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_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_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)
like, that is a long list of besties and every single one of them ate π₯
ngl the whole page is basically: call her, passrvu,reqandrsp, get0back, go live your life πβ¨
okay bye bestie, drink some water and go read that kernel file π§ and just so we're keeping it a hundred, this one's clipped from ./drivers/net/ethernet/marvell... and it's dated October 2026, so jot that down in ur notes app ππ
π¦ 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