i40e_dcbnl_set_pg_tc_cfg_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_set_pg_tc_cfg_rx β€” from the Kernel API Manual ✨

okay bestie, buckle up, because this one is a journey πŸŽ€ we're in the Kernel API Manual today, and this page is about i40e_dcbnl_set_pg_tc_cfg_rx β€” yeah i know, the name is giving "i typed it with my forehead" but stay with me, it's actually so simple. πŸ¦‹


🌸 NAME 🌸

i40e_dcbnl_set_pg_tc_cfg_rx β€” Set CEE PG Rx config. that's it. that's the whole name. iconique, concise, no notes. πŸ‘‘


✨ SYNOPSIS ✨

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

like, it's a void bestie β€” it returns nothing, it's not coming back to tell you how it went. πŸ’€


🫢 ARGUMENTS 🫢

  • netdev β€” the corresponding netdev. the device in question, the main character of this whole operation πŸ’–
  • prio β€” the corresponding traffic class. it's an int, lowkey fancy.
  • prio_type β€” the traffic priority type. it's a u8 btw, in case you were wondering.
  • pgid β€” the BW group id the traffic class belongs to. also u8. she's a group id, she's got a whole friend group πŸ’…
  • bw_pct β€” the BW percentage for the corresponding BWG. yes, another u8.
  • up_map β€” prio mapped to corresponding tc. u8 as well, we love a consistent cast 🌈
ngl that is six parameters for a function that does, um, let's keep reading. 😭

🧚 DESCRIPTION 🧚

so the plan, the vision, the dream, was to set Rx BW settings for CEE mode. that's what the function is out here named after. πŸŽ€

but β€” and this is the part bestie, this is the plot twist πŸ”₯ β€” the hardware does not support this. so we won't allow setting of this parameter. like, the function literally will not do the thing. she showed up to the group chat, read the messages, and said "not me doing that." πŸ™ˆ

it's not a bug, it's a policy β€” the hardware said no cap, so the code says no too. honestly? respecting the hardware's boundaries. we love a boundary-respecting kernel. πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

the realization that this lives in the kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c β€” go touch grass there if you want the real tea πŸ“

and because this page believes in community, here's the whole entire extended friend group, all (9) pages, all of them, no skips, no cuts:

that's thirty-four besties. thirty-four!! a whole squad πŸ’–βœ¨


okay that's the whole page, ily, go read the source 🌈

this came out of ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's i40e_dcbnl_set_pg_tc_cfg_rx(9) β€” mwah, periodt. πŸ’…πŸŽ€

πŸ“¦ where this page comes from