ksz_set_global_dscp_entry(9)
πΈ 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 capipmβ 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
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_init_global_dscp_map(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)
kisses bestie, this page came from ./drivers/net/dsa/microchip and it's dated 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