ENUM DCBNL_PG_ATTRS(9)
πΈ enum dcbnl_pg_attrs(9) πΈ
okay so bestie, welcome to the Kernel API Manual, section 9 β we're looking at enum dcbnl_pg_attrs, aka the DCB Priority Group attributes, and honestly? it's giving organized. it's giving someone alphabetized their sock drawer. let's get into it π«Ά
β¨ NAME β¨
enum dcbnl_pg_attrs β DCB Priority Group attributes. that's it, that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
look at her. she's beautiful. she's a whole enum:
enum dcbnl_pg_attrs {
DCB_PG_ATTR_UNDEFINED ,
DCB_PG_ATTR_TC_0 ,
DCB_PG_ATTR_TC_1 ,
DCB_PG_ATTR_TC_2 ,
DCB_PG_ATTR_TC_3 ,
DCB_PG_ATTR_TC_4 ,
DCB_PG_ATTR_TC_5 ,
DCB_PG_ATTR_TC_6 ,
DCB_PG_ATTR_TC_7 ,
DCB_PG_ATTR_TC_MAX ,
DCB_PG_ATTR_TC_ALL ,
DCB_PG_ATTR_BW_ID_0 ,
DCB_PG_ATTR_BW_ID_1 ,
DCB_PG_ATTR_BW_ID_2 ,
DCB_PG_ATTR_BW_ID_3 ,
DCB_PG_ATTR_BW_ID_4 ,
DCB_PG_ATTR_BW_ID_5 ,
DCB_PG_ATTR_BW_ID_6 ,
DCB_PG_ATTR_BW_ID_7 ,
DCB_PG_ATTR_BW_ID_MAX ,
DCB_PG_ATTR_BW_ID_ALL ,
__DCB_PG_ATTR_ENUM_MAX ,
DCB_PG_ATTR_MAX
};
π Constants π
this is the part where we meet everyone in the group chat, one by one. nobody gets skipped, periodt. π
DCB_PG_ATTR_UNDEFINEDβ the "unspecified attribute to catch errors" one. she's the safety net, the friend who holds your hair back. πDCB_PG_ATTR_TC_0β Priority Group Traffic Class 0 configuration(NLA_NESTED). nested like your feelings, bestie. πͺDCB_PG_ATTR_TC_1β Priority Group Traffic Class 1 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_2β Priority Group Traffic Class 2 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_3β Priority Group Traffic Class 3 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_4β Priority Group Traffic Class 4 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_5β Priority Group Traffic Class 5 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_6β Priority Group Traffic Class 6 configuration(NLA_NESTED). β¨DCB_PG_ATTR_TC_7β Priority Group Traffic Class 7 configuration(NLA_NESTED). the last of the TC girlies, we stan all eight equally. πDCB_PG_ATTR_TC_MAXβ "highest attribute number currently defined". she's the ceiling. the limit. the enough. π₯DCB_PG_ATTR_TC_ALLβ "apply to all traffic classes(NLA_NESTED)". main character energy: she does NOT do favorites. πDCB_PG_ATTR_BW_ID_0β Percent of link bandwidth for Priority Group 0(NLA_U8). that's aU8, so keep it smol. πDCB_PG_ATTR_BW_ID_1β Percent of link bandwidth for Priority Group 1(NLA_U8). πDCB_PG_ATTR_BW_ID_2β Percent of link bandwidth for Priority Group 2(NLA_U8). πDCB_PG_ATTR_BW_ID_3β Percent of link bandwidth for Priority Group 3(NLA_U8). πDCB_PG_ATTR_BW_ID_4β Percent of link bandwidth for Priority Group 4(NLA_U8). πDCB_PG_ATTR_BW_ID_5β Percent of link bandwidth for Priority Group 5(NLA_U8). πDCB_PG_ATTR_BW_ID_6β Percent of link bandwidth for Priority Group 6(NLA_U8). πDCB_PG_ATTR_BW_ID_7β Percent of link bandwidth for Priority Group 7(NLA_U8). eight priority groups, eight little bandwidth percentages, we love a symmetrical moment. π¦DCB_PG_ATTR_BW_ID_MAXβ "highest attribute number currently defined". again. she's also the ceiling. two ceilings, it's fine, the enum contains multitudes. πDCB_PG_ATTR_BW_ID_ALLβ "apply to all priority groups(NLA_FLAG)". a flag! no value, just vibes. π©β¨__DCB_PG_ATTR_ENUM_MAXβ -- undescribed -- π the manpage literally says nothing about her and honestly? mysterious. iconic. we respect the privacy.DCB_PG_ATTR_MAXβ -- undescribed -- π same deal, no description in the source, so i'm not gonna make one up, bestie. i would never lie to you.
lowkey reminder: I'm only telling you what the page says β where it says -- undescribed --, that's genuinely all we get, and I'm not out here inventing lore. π ββοΈ
π SEE ALSO π
go read these next, they're all in the Kernel file ./include/uapi/linux/dcbnl.h:
struct cee_pg(9)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_tc_attrs(9)enum dcbnl_cap_attrs(9)enum dcbnl_numtcs_attrs(9)enum dcb_general_attr_values(9)
iykyk β that's the whole extended universe, babes. read them all, annotate them, put them on your wall. ππ
π§ the sign-off π§
this absolute banger of a page lives at ./include/uapi/linux, and it's dated October 2026 β yes, the future. her full government name is still enum dcbnl_pg_attrs(9). go forth and configure your priority groups, bestie, you're gonna slay πβ¨π
π¦ 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