ksz_init_global_dscp_map(9)
π 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 π
- Kernel file
./drivers/net/dsa/microchip/ksz_dcb.c ksz_get_dscp_prio_reg(9)ksz_get_apptrust_map_and_reg(9)ksz_port_get_default_prio(9)ksz_port_set_default_prio(9)ksz_port_get_dscp_prio(9)ksz_set_global_dscp_entry(9)ksz_port_add_dscp_prio(9)ksz_port_del_dscp_prio(9)ksz_apptrust_error(9)ksz_port_set_apptrust_validate(9)ksz_port_set_apptrust(9)ksz_port_get_apptrust(9)ksz_dcb_init_port(9)ksz_dcb_init(9)
All the related function besties are here, iykyk π«Ά.
xoxo, bestie π source/version: ./drivers/net/dsa/microchip Β· date: October 2026 π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms