rvu_npc_exact_add_to_list(9)
π NAME π
Okay so this is rvu_npc_exact_add_to_list(9) from the Kernel API Manual, and its whole personality is literally Add entry to list β thatβs the name, thatβs the vibe, periodt. π
β¨ SYNOPSIS β¨
Hereβs the exact signature, bestie β do not remix it:
int rvu_npc_exact_add_to_list (struct rvu *rvu , enum npc_exact_opc_type
opc_type , u8 ways , u32 index , u8 cgx_id , u8 lmac_id , u8 *mac_addr ,
u16 chan , u8 ctype , u32 *seq_id , bool cmd , u32 mcam_idx , u16
pcifunc );
π ARGUMENTS π
Argument tour time, and every single detail is staying because facts stay, no cap:
rvuβ the resource virtualization unit. πopc_typeβ the OPCODE that selects the MEM/CAM table. β¨waysβ the MEM table ways. πindexβ the index in the MEM/CAM table. π¦cgx_idβ the CGX identifier. πΈlmac_idβ the LMAC identifier. πmac_addrβ the MAC address. π«Άchanβ the channel number. πctypeβ the Channel Type. π₯seq_idβ the sequence identifier. πcmdβ True if the function is called byethtoolcmd. πmcam_idxβ NPC mcam index of the DMAC entry in NPC mcam. βpcifuncβ pci function. π
π RETURN π
On success, it returns 0. Thatβs the whole return story β 0 upon success. β¨
π¦ SEE ALSO π¦
Kernel file to peek at, bestie:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c π§
And hereβs the whole function neighborhood β every reference, zero skips:
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_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)
Bye bestie β this iconic little page is rvu_npc_exact_add_to_list(9) from the Kernel API Manual, source path ./drivers/net/ethernet/marvell..., dated 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