STRUCT CEE_PG(9)
β¨ struct cee_pg(9) β¨
okay bestie, welcome to the Kernel API Manual π β today's main character is struct cee_pg, the CEE Priority-Group managed object. yes, that's a lot of capital letters. no, we're not scared of them. π«Ά
πΈ NAME πΈ
struct cee_pg β the CEE Priority-Group managed object, fr fr π
π¦ SYNOPSIS π¦
struct cee_pg {
__u8 willing;
__u8 error;
__u8 pg_en;
__u8 tcs_supported;
__u8 pg_bw[CEE_DCBX_MAX_PGS];
__u8 prio_pg[CEE_DCBX_MAX_PGS];
};
like, look at her. six members, all __u8, two of them arrays. she's compact, she's tidy, she's iconic. π
π Members π
willingβ the willing bit in the PG tlv. she's willing, okay? πerrorβ the error bit in the PG tlv. not the vibe we want, but she's there. πpg_enβ the enable bit of the PG feature. flip her on and the PG feature is on. periodt. β¨tcs_supportedβ number of traffic classes supported. count 'em. π§pg_bwβ bandwidth percentage for each priority group. one percentage per group, no cap. πprio_pgβ priority to PG mapping, indexed by priority. iykyk π¦
quick vibe check:pg_bwandprio_pgare both sizedCEE_DCBX_MAX_PGS, so don't go indexing past that, bestie. π
π SEE ALSO π
- Kernel file
./include/uapi/linux/dcbnl.h struct cee_pfc(9)struct dcb_peer_app_info(9)enum dcbnl_commands(9)enum dcbnl_attrs(9)enum ieee_attrs(9)enum cee_attrs(9)enum dcbnl_pg_attrs(9)enum dcbnl_tc_attrs(9)enum dcbnl_cap_attrs(9)enum dcbnl_numtcs_attrs(9)enum dcb_general_attr_values(9)
like, the whole friend group showed up. go read their pages too, they're all slay. π
and that's the whole page, bestie β no notes, we ate and left zero crumbs. π this little masterpiece lives in ./include/uapi/linux and is dated October 2026, so mark your calendar and stan responsibly. mwah πβ¨
π¦ 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