ksz_apptrust_error(9)
π ksz_apptrust_error(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a tiny little function from the kernel with one job and honestly it does it slay π
β¨ NAME β¨
ksz_apptrust_error β the function that prints an error message when somebody hands over an invalid apptrust selector π«Ά
π¦ SYNOPSIS π¦
void ksz_apptrust_error (struct ksz_device *dev );
πΈ ARGUMENTS πΈ
devβ pointer to thestruct ksz_devicestructure, aka the KSZ switch device. that's it, that's the whole argument, no cap π
β DESCRIPTION β
so like, when an invalid apptrust selector shows up, this function prints an error message about it. and honestly? that's the gig. it's giving "i'm just here to tell you something's wrong" energy and we respect it π
π SEE ALSO π
the kernel file it lives in, for the curious besties who wanna go read the source (iykyk):
- Kernel file
./drivers/net/dsa/microchip/ksz_dcb.c
and the whole friend group it runs with π:
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_init_global_dscp_map(9)ksz_port_add_dscp_prio(9)ksz_port_del_dscp_prio(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)
and that's the whole page, bestie! no notes, iconic behavior only πβ¨
π¦ sign-off: this little gem lives in ./drivers/net/dsa/microchip (yes the whole folder is the vibe), dropping October 2026, and it's filed under ksz_apptrust_error(9) β periodt π
π
π¦ 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