ksz_get_dscp_prio_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ksz_get_dscp_prio_reg(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for ksz_get_dscp_prio_reg(9) β€” literally the little guy that retrieves the DSCP-to-priority-mapping register. it's giving "small function, big job" energy and honestly? we're obsessed πŸŽ€


✨ NAME ✨

ksz_get_dscp_prio_reg β€” Retrieves the DSCP-to-priority-mapping register 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

void ksz_get_dscp_prio_reg (struct ksz_device *dev , int *reg , int
*per_reg , u8 *mask );

no cap, that's the whole signature right there β€” one void return, four args, zero drama πŸ’…


🫢 ARGUMENTS 🫢

  • dev β€” Pointer to the KSZ switch device structure. this is your main character β€” the switch itself πŸ‘‘
  • reg β€” Pointer to the register address to be set. it's a pointer, so yeah, the function writes back through it πŸ“
  • per_reg β€” Pointer to the number of DSCP values per register. basically "how many DSCP vibes fit in one register" ✨
  • mask β€” Pointer to the mask to be set. the mask, the icon, the moment πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

This function retrieves the DSCP to priority mapping register, the number of DSCP values per register, and the mask to be set. πŸ¦‹

that's it, that's the whole vibe β€” it doesn't change anything, it just goes and fetches those three things for you and hands them over through the pointers you passed in. lowkey a giver ngl πŸ’–


πŸ’€ SEE ALSO πŸ’€

like, go read the whole friend group, they all hang out together fr fr 🌈


and that's the page!! πŸ’… brought to you by the fine folks at ./drivers/net/dsa/microchip, dated October 2026, and yes the footer still says ksz_get_dscp_prio_reg(9) because we would never forget her name πŸ§šβ€β™€οΈπŸ’œ slay, bye! πŸ“

πŸ“¦ where this page comes from