i40e_calculate_l2fpm_size(9)
π NAME π
i40e_calculate_l2fpm_size(9) is living in the Kernel API Manual, and bestie, it calculates layer 2 FPM memory size. Thatβs the whole vibe. β¨
πΈ SYNOPSIS πΈ
u64 i40e_calculate_l2fpm_size (u32 txq_num , u32 rxq_num , u32
fcoe_cntx_num , u32 fcoe_filt_num );
π ARGUMENTS π
txq_numβ number of Tx queues needing backing contextrxq_numβ number of Rx queues needing backing contextfcoe_cntx_numβ amount of FCoE statefull contexts needing backing contextfcoe_filt_numβ number of FCoE filters needing backing context
π¦ DESCRIPTION π¦
Okay so this function calculates the maximum amount of memory for the function required, based on the number of resources it must provide context for. Itβs giving βmath girlie with a calculator and a dream,β and honestly? Iconic. π
No cap, itβs just doing the memory-size math based on those resource counts. π«Ά
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c i40e_align_l2obj_base(9)i40e_init_lan_hmc(9)i40e_remove_pd_page(9)i40e_remove_sd_bp(9)i40e_create_lan_hmc_object(9)i40e_configure_lan_hmc(9)i40e_delete_lan_hmc_object(9)i40e_shutdown_lan_hmc(9)i40e_write_byte(9)i40e_write_word(9)i40e_write_dword(9)i40e_write_qword(9)i40e_clear_hmc_context(9)i40e_set_hmc_context(9)i40e_hmc_get_object_va(9)i40e_clear_lan_tx_queue_context(9)i40e_set_lan_tx_queue_context(9)i40e_clear_lan_rx_queue_context(9)i40e_set_lan_rx_queue_context(9)
bestie, thatβs the whole page β every argument, every reference, every lilβ detail accounted for π
mwah π β source/version line says ./drivers/net/ethernet/intel/i40e, dated October 2026, and this page is i40e_calculate_l2fpm_size(9). slay. π
π¦ 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