i40e_dcb_hw_...e_pool_sizes(9)
β¨ NAME β¨
okay so welcome to the Kernel API Manual, bestie β this is the page for i40e_dcb_hw_calculate_pool_sizes, and her whole job is to configure dcb pool sizes. π
β¨ SYNOPSIS β¨
void i40e_dcb_hw_calculate_pool_sizes (struct i40e_hw *hw , u8 num_ports
, bool eee_enabled , u8 pfc_en , u32 *mfs_tc , struct i40e_rx_pb_config
*pb_cfg );
π ARGUMENTS π
hwβ pointer to the hw struct. That's the hardware struct, the main character energy of this call.num_portsβ Number of available ports on the device. Like, how many ports are we even working with?eee_enabledβ EEE enabled for the given port. Is EEE on for this port? This bool is the vibe check.pfc_enβ Bit map of PFC enabled traffic classes. A whole bitmap of which traffic classes have PFC enabled.mfs_tcβ Array of max frame size for each traffic class. One max frame size per traffic class, sitting in an array.pb_cfgβ pointer to packet buffer configuration. Literally a pointer to the packet buffer config. Periodt.
π₯ DESCRIPTION π₯
okay so the actual tea: i40e_dcb_hw_calculate_pool_sizes calculates the shared and dedicated per TC pool sizes, the watermarks, and the threshold values. That's it, that's the whole description β she's doing the DCB pool-size math, no cap. π§
π¦ SEE ALSO π¦
- Kernel file:
./drivers/net/ethernet/intel/i40e/i40e_dcb.cβ like, go read the source, bestie. i40e_get_dcbx_status(9)i40e_parse_ieee_etscfg_tlv(9)i40e_parse_ieee_etsrec_tlv(9)i40e_parse_ieee_pfccfg_tlv(9)i40e_parse_ieee_app_tlv(9)i40e_parse_ieee_tlv(9)i40e_parse_cee_pgcfg_tlv(9)i40e_parse_cee_pfccfg_tlv(9)i40e_parse_cee_app_tlv(9)i40e_parse_cee_tlv(9)i40e_parse_org_tlv(9)i40e_lldp_to_dcb_config(9)i40e_aq_get_dcb_config(9)i40e_cee_to_dcb_v1_config(9)i40e_cee_to_dcb_config(9)i40e_get_ieee_dcb_config(9)i40e_get_dcb_config(9)i40e_init_dcb(9)i40e_get_fw_lldp_status(9)i40e_add_ieee_ets_tlv(9)i40e_add_ieee_etsrec_tlv(9)i40e_add_ieee_pfc_tlv(9)i40e_add_ieee_app_pri_tlv(9)i40e_add_dcb_tlv(9)i40e_set_dcb_config(9)i40e_dcb_config_to_lldp(9)i40e_dcb_hw_rx_fifo_config(9)i40e_dcb_hw_rx_cmd_monitor_config(9)i40e_dcb_hw_pfc_config(9)i40e_dcb_hw_set_num_tc(9)i40e_dcb_hw_rx_ets_bw_config(9)i40e_dcb_hw_rx_up2tc_config(9)i40e_dcb_hw_rx_pb_config(9)_i40e_read_lldp_cfg(9)i40e_read_lldp_cfg(9)
xoxo, bestie π this page came from ./drivers/net/ethernet/intel/i40e, dated October 2026 β and the manual page name is i40e_dcb_hw_...e_pool_sizes(9). now go slay those pool sizes π
π¦ 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