ENUM DCBNL_NUMTCS_ATTRS(9)
π enum dcbnl_numtcs_attrs(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to the glow-up edition of the enum dcbnl_numtcs_attrs(9) page from the Kernel API Manual β¨ this is the little enum that's literally just here to count traffic classes for you. no cap, that's the whole vibe.
β¨ NAME β¨
enum dcbnl_numtcs_attrs β number of traffic classes π
πΈ SYNOPSIS πΈ
enum dcbnl_numtcs_attrs {
DCB_NUMTCS_ATTR_UNDEFINED ,
DCB_NUMTCS_ATTR_ALL ,
DCB_NUMTCS_ATTR_PG ,
DCB_NUMTCS_ATTR_PFC ,
__DCB_NUMTCS_ATTR_ENUM_MAX ,
DCB_NUMTCS_ATTR_MAX
};
like, look at her. five-ish members and a whole lot of ~purpose~ π
π¦ Constants π¦
okay so here's the cast, and every single one of them matters:
DCB_NUMTCS_ATTR_UNDEFINEDβ the unspecified attribute whose whole job is to catch errors π«Ά she's the safety net, the vibes check, the "wait that shouldn't be here" girlie.DCB_NUMTCS_ATTR_ALLβ(NLA_FLAG)all traffic class attributes. all of them. the full set. main character energy πDCB_NUMTCS_ATTR_PGβ(NLA_U8)number of traffic classes used for priority groups. iconic, numbered, and au8for reasons.DCB_NUMTCS_ATTR_PFCβ(NLA_U8)number of traffic classes which can support priority flow control π also au8, also doing the most.__DCB_NUMTCS_ATTR_ENUM_MAXβ -- undescribed -- π the manpage literally has nothing for her. she's mysterious. she's private. respect her privacy fr fr.DCB_NUMTCS_ATTR_MAXβ -- undescribed -- π same situation. no description, only vibes. we love an enigmatic icon.
ngl, two of these entries being -- undescribed -- is not me being lazy, that is genuinely what the original page says. keeping the facts, keeping the mystery β¨
π₯ SEE ALSO π₯
go read these next, bestie, they're all linked up:
- 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_pg_attrs(9)enum dcbnl_tc_attrs(9)enum dcbnl_cap_attrs(9)enum dcb_general_attr_values(9)
and that's the whole page π this queen lives in ./include/uapi/linux, and the page itself is dated October 2026 β so yeah, she's from the future and she's still just counting traffic classes. 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