i40e_dcbnl_get_pg_tc_cfg_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_get_pg_tc_cfg_rx(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, this is that i40e_dcbnl_get_pg_tc_cfg_rx(9) page, the one you were looking for. pull up a chair, we're getting into CEE PG Rx config and honestly? it's giving niche-but-iconic. πŸ¦‹


✨ NAME ✨

i40e_dcbnl_get_pg_tc_cfg_rx β€” Get CEE PG Rx config. that's the whole vibe. 🌸


πŸŽ€ SYNOPSIS πŸŽ€

void i40e_dcbnl_get_pg_tc_cfg_rx (struct net_device *netdev , int prio ,
u8 *prio_type , u8 *pgid , u8 *bw_pct , u8 *up_map );

yep, that's a void function, no return value to obsess over. it just hands you stuff through the pointers. slay. πŸ’…


🫢 ARGUMENTS 🫢

  • netdev β€” the corresponding netdev. like, the network device in question, bestie. that's the one. 🧚
  • prio β€” the corresponding user priority. an int, right there in the middle of the signature.
  • prio_type β€” the traffic priority type. u8 *, so it's a pointer, and you're getting the type out of it.
  • pgid β€” the PG ID. yes, the Priority Group ID, no cap. πŸ‘‘
  • bw_pct β€” the BW percentage for the corresponding BWG. bandwidth percentage, for the BWG. iykyk.
  • up_map β€” prio mapped to corresponding TC. so the user priority β†’ traffic class mapping, lowkey the whole point.

πŸ’– DESCRIPTION πŸ’–

Get Rx PG settings for CEE mode, periodt. ✨

here's the cute part: the UP2TC map is applied in the same manner for Tx and Rx β€” it's symmetrical, bestie, like matching outfits β€” so this function just returns the TC information for the given priority accordingly. it's giving "one map, two directions, mutual main character energy." 🌈

ngl this one is a getter, so it's filling in the values your pointers point at. no surprises, no drama. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c β€” that's where the source lives, go say hi. πŸ“

and the whole friend group, in order, no one left out:


✨ that's the page, bestie ✨

signing off from ./drivers/net/ethernet/intel/i40e, dated October 2026, still i40e_dcbnl_get_pg_tc_cfg_rx(9) and still absolutely ate. πŸŽ€πŸ’œπŸ”₯

πŸ“¦ where this page comes from