ENUM DCBNL_TC_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is enum dcbnl_tc_attrs(9) from the Kernel API Manual β€” aka the DCB Traffic Class attributes enum. It's giving very niche networking fairy energy, and we're obsessed. 🧚✨

πŸ¦‹ SYNOPSIS πŸ¦‹

enum dcbnl_tc_attrs {
    DCB_TC_ATTR_PARAM_UNDEFINED ,
    DCB_TC_ATTR_PARAM_PGID ,
    DCB_TC_ATTR_PARAM_UP_MAPPING ,
    DCB_TC_ATTR_PARAM_STRICT_PRIO ,
    DCB_TC_ATTR_PARAM_BW_PCT ,
    DCB_TC_ATTR_PARAM_ALL ,
    __DCB_TC_ATTR_PARAM_ENUM_MAX ,
    DCB_TC_ATTR_PARAM_MAX

};

πŸŽ€ Constants πŸŽ€

  • DCB_TC_ATTR_PARAM_UNDEFINED β€” the unspecified attribute, literally there to catch errors. It's the "oops, bestie, wrong turn" option. πŸ™ˆ
  • DCB_TC_ATTR_PARAM_PGID β€” (NLA_U8) the priority group the traffic class belongs to. Valid values are: 0-7. Slay, but keep it in range. ✨
  • DCB_TC_ATTR_PARAM_UP_MAPPING β€” (NLA_U8) the traffic class to user priority map. Caveat: some devices may not support changing the user priority map of a TC. Not everyone gets the glow-up, iykyk. πŸ’…
  • DCB_TC_ATTR_PARAM_STRICT_PRIO β€” (NLA_U8) the strict priority setting. The values are: 0 - none, 1 - group strict, 2 - link strict. Pick your fighter. πŸ”₯
  • DCB_TC_ATTR_PARAM_BW_PCT β€” optional β€” (NLA_U8) if the device supports it and it's not configured to use link strict priority, this is the percentage of bandwidth of the priority group this traffic class belongs to. Math but make it bandwidth. πŸ“
  • DCB_TC_ATTR_PARAM_ALL β€” (NLA_FLAG) all traffic class parameters. The whole squad, together. πŸ‘‘
  • __DCB_TC_ATTR_PARAM_ENUM_MAX β€” the manpage just says -- undescribed --, so bestie, that's all the lore we're getting. No cap. πŸ’€
  • DCB_TC_ATTR_PARAM_MAX β€” also -- undescribed --. Mysterious main character energy, honestly. 🌈

🌸 SEE ALSO 🌸

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_cap_attrs(9)
  • enum dcbnl_numtcs_attrs(9)
  • enum dcb_general_attr_values(9)

Source/version vibes: ./include/uapi/linux, dated October 2026, and the page is enum dcbnl_tc_attrs(9) β€” byeee, go read the kernel docs, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from