rvu_npc_exac...han_and_mask(9)
π rvu_npc_exact_calc_drop_rule_chan_and_mask β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of rvu_npc_exac...han_and_mask(9) β yes that's the truncated header, we don't gatekeep, the full name is rvu_npc_exact_calc_drop_rule_chan_and_mask(9) and honestly? iconic mouthful. anyway this whole page lives in the Kernel API Manual and it's giving "niche Marvell ethernet lore" and I'm obsessed π¦
πΈ NAME πΈ
rvu_npc_exact_calc_drop_rule_chan_and_mask β literally just calculates the Channel number and mask. that's it. that's the whole job. no cap π
β¨ SYNOPSIS β¨
bool rvu_npc_exact_calc_drop_rule_chan_and_mask (struct rvu *rvu , u8
intf_type , u8 cgx_id , u8 lmac_id , u64 *val , u64 *mask );
look at her. one function, six args, returns a bool. main character energy fr fr π
π ARGUMENTS π
rvuβ resource virtualization unit. the whole big resource-virtualization situation, she's the context, she's the vibe.intf_typeβ Interface type (SDK,LBKorCGX). pick your fighter πcgx_idβ CGX identifier.lmac_idβ LAMC identifier. (yes bestie, the manpage says LAMC right there β we're reporting it exactly as found, not my typo, hand on heart π)valβ Channel number.maskβ Channel mask.
π RETURN π
True upon success. that's it, that's the reward, a lil true and a pat on the head π«Ά
π¦ SEE ALSO π¦
the whole friend group, no one left out, everybody ate π
- 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_save_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)
heads up bestie: the original page's footer line got cut off mid-path, so what we can see is the source./drivers/net/ethernet/marvell...and the date October 2026 β and the footer name is the same truncatedrvu_npc_exac...han_and_mask(9). that's all she wrote, don't @ me π
and that's the page!! π source: ./drivers/net/ethernet/marvell..., dated October 2026, footer rvu_npc_exac...han_and_mask(9) β mwah, periodt, go read your kernel source babe ππ§
π¦ 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