ixgbe_dcb_hw_config_82598(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_dcb_hw_config_82598 β€” the Kernel API Manual, section 9, bestie

okay so picture this: you're deep in the ixgbe driver, you've got a 82598 chip staring at you, and you need DCB configured and enabled. That's literally this function. No cap. It lives in the Kernel API Manual, section 9, and it's giving "the one function that ties all the DCB setup together." πŸ‘‘


✨ SYNOPSIS ✨

int ixgbe_dcb_hw_config_82598 (struct ixgbe_hw *hw , u8 pfc_en , u16
*refill , u16 *max , u8 *bwg_id , u8 *prio_type );

six parameters, one int return, zero chill. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hardware structure, aka the whole personality of the chip you're about to configure πŸ¦‹
  • pfc_en β€” the enabled pfc bitmask. it's a u8, it's a bitmask, it's doing the most πŸ’…
  • refill β€” refill credits, indexed by traffic class. it's a u16 *, so it's pointing at an array fr fr
  • max β€” max credits, also indexed by traffic class. another u16 * bestie 🌸
  • bwg_id β€” bandwidth grouping, indexed by traffic class (u8 *, iconic) πŸŽ€
  • prio_type β€” priority type, indexed by traffic class (u8 *, yes ma'am) ⭐
lowkey noticing the pattern? refill, max, bwg_id and prio_type are all arrays keyed by traffic class. the four of them walking in together like a friend group 🧚

πŸ”₯ DESCRIPTION πŸ”₯

Configure dcb settings and enable dcb mode.

that's it, that's the whole job. it configures the DCB settings and turns DCB mode on β€” both things, in one call. highkey efficient. ✨


🌈 SEE ALSO 🌈

the whole DCB 82598 friend group, all together now:

go read them, they're all main character energy too 😭


okay that's the whole page! sourced from ./drivers/net/ethernet/intel/i... (yes it's truncated in the original, don't come for me πŸ™ˆ), dated October 2026, and it's the ixgbe_dcb_hw_config_82598(9) page β€” periodt. πŸ’–

πŸ“¦ where this page comes from