ice_get_dscp_up(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to ice_get_dscp_up(9) β€” this is the Kernel API Manual page for it, and it's here to return the UP/TC value for a SKB. no cap. πŸ’…βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

the signature is giving exactly this:

u8 ice_get_dscp_up (struct ice_dcbx_cfg *dcbcfg , struct sk_buff *skb );

🌸 ARGUMENTS 🌸

  • dcbcfg β€” the DCB config that contains the DSCP to UP/TC mapping. literally the lookup table vibe.
  • skb β€” the SKB you're querying for info to determine UP/TC. bestie is getting inspected πŸ”

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the one big rule here: this function is to only be called when the PF is in L3 DSCP PFC mode. that's the whole condition, and it's not optional.

🚨 only call it when the PF is in L3 DSCP PFC mode β€” periodt.

✨ SEE ALSO ✨

the whole squad of related pages and the kernel file are right here β€” every single one, no skipping:


mwah πŸ’– signing off from the ./drivers/net/ethernet/intel/ice source/version, dated October 2026 β€” bestie, you're all caught up 🫢🌈

πŸ“¦ where this page comes from