ksz_init_global_dscp_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ksz_init_global_dscp_map(9) πŸŽ€

bestie, welcome to the Kernel API Manual page for ksz_init_global_dscp_map(9) β€” yes, the title and the manual name are both here, we're being fancy πŸ’….


✨ NAME ✨

ksz_init_global_dscp_map β€” Initializes the global DSCP-to-priority mapping. That's the name, that's the vibe, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ksz_init_global_dscp_map (struct ksz_device *dev );

This is the signature, exactly as written β€” copy it character for character, bestie πŸ’–.


🌸 ARGUMENTS 🌸

  • dev β€” Pointer to the KSZ switch device structure. That's the one argument, and it's literally the switch device struct pointer.

πŸ’œ DESCRIPTION πŸ’œ

okay so this function initializes the global DSCP-to-priority mapping table for the switch. It's giving "set up the global mapping table" energy, and that's the whole description β€” short, iconic, periodt πŸ”₯.


πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code on failure. So yeah, check that return value, bestie 😭.


🌈 SEE ALSO 🌈

All the related function besties are here, iykyk 🫢.


xoxo, bestie πŸ’– source/version: ./drivers/net/dsa/microchip Β· date: October 2026 πŸŽ€

πŸ“¦ where this page comes from