ksz_set_global_dscp_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the ksz_set_global_dscp_entry(9) page in the Kernel API Manual β€” this one is literally about setting the global DSCP-to-priority mapping entry πŸ’…βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

int ksz_set_global_dscp_entry (struct ksz_device *dev , u8 dscp , u8 ipm );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” pointer to the KSZ switch device structure, aka the main character struct 🫢
  • dscp β€” the DSCP value you're setting the priority for, no cap
  • ipm β€” the priority value you wanna set πŸ‘‘

✨ DESCRIPTION ✨

This function sets the global DSCP-to-priority mapping entry for the specified DSCP value. Simple, iconic, does exactly what it says on the tin πŸ’–


πŸ’« RETURN πŸ’«

0 on success, or a negative error code on failure 😭 so if it's not 0, it's giving "something went wrong" energy.


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/dsa/microchip/ksz_dcb.c


kisses bestie, this page came from ./drivers/net/dsa/microchip and it's dated October 2026 πŸ’–πŸŽ€

πŸ“¦ where this page comes from