rvu_npc_exa..._addr_update(9)
π rvu_npc_exa..._addr_update β from the Kernel API Manual, bestie β¨
okay so real talk, this page lives in the Kernel API Manual and lowkey the whole thing is about one tiny little function that does one tiny little thing but does it immaculately. it's giving "small role, main character energy" π
πΈ NAME πΈ
rvu_npc_exact_mac_addr_update β literally just updates the mac address field with a new value. that's it. that's the whole job. slay π
β¨ SYNOPSIS β¨
int rvu_npc_exact_mac_addr_update (struct rvu *rvu , struct
cgx_mac_addr_update_req *req , struct cgx_mac_addr_update_rsp *rsp );
three args in, an int out, no cap π«Ά
π¦ ARGUMENTS π¦
rvuβ the resource virtualization unit. the whole entire vibe container, iykyk.reqβ the Update request. this is the "here's what I want changed, please and thank you" bundle πrspβ the Update response. this is what comes back so you know how it went.
β RETURN β
0 upon success. that's the good ending, bestie πβ¨
π§ SEE ALSO π§
first up, the kernel file this whole situation lives in:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
and now the entire friend group, in the exact order they were introduced, don't @ me:
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_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)
ok but the double-underscore ones?__rvu_npc_exact_find_entry_by_seq_idand__rvu_npc_exact_cmd_rules_cnt_update? those are the introverts of the API. still iconic tho π
mwah, that's the whole page π«Ά signing off from ./drivers/net/ethernet/marvell..., dated October 2026 β catch you in the next manpage, 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