i40e_dcb_hw_...e_pool_sizes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ¦‹


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