ENUM DCBNL_PG_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 a U8, 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