ksz88x3_tc_ets_del(9)
π ksz88x3_tc_ets_del(9) π
okay so bestie, we're deep in the Kernel API Manual today and the star of the show is ksz88x3_tc_ets_del β yes that's a mouthful, yes it's iconic, and yes it resets the ETS (Enhanced Transmission Selection) config for a port on a KSZ88x3 switch. let's get into it π
β¨ NAME β¨
ksz88x3_tc_ets_del β reset ETS (Enhanced Transmission Selection) config for a port on KSZ88x3 switch πΈ
π¦ SYNOPSIS π¦
int ksz88x3_tc_ets_del (struct ksz_device *dev , int port );
π ARGUMENTS π
devβ pointer to the KSZ switch device structure. she's the main character of the whole thing π«Άportβ the port number to reset. like, the specific little port we're giving a glow-up reset to π
π DESCRIPTION π
so the tea is this: the KSZ88x3 literally only supports fixed scheduling modes β that's Strict Priority or Weighted Fair Queuing (WFQ). no reconfiguration of weights, no queue mapping, none of that. it's giving "we have exactly two modes and we're sticking to them" π
what this function does is reset the port's scheduling mode back to the default, and that default is WFQ β it does this by enabling the WFQ bit for all queues. so yeah, every queue gets that WFQ treatment. slay π¦
β RETURN β
0 on success, or a negative error code on failure. that's it, that's the vibe check π
π SEE ALSO π
- Kernel file
./drivers/net/dsa/microchip/ksz8.c ksz8_ind_write8(9)ksz8_ind_read8(9)ksz879x_get_loopback(9)ksz879x_set_loopback(9)ksz8_r_phy_ctrl(9)ksz8_r_phy_bmcr(9)ksz8_w_phy_ctrl(9)ksz8_w_phy_bmcr(9)ksz88x3_tc_ets_add(9)ksz8_phy_port_link_up(9)ksz8_cpu_port_link_up(9)ksz88x3_drive_strength_write(9)ksz8_parse_drive_strength(9)
and that's the whole page bestie, tysm for reading π«Ά this little number lives in ./drivers/net/dsa/microchip and it was dated October 2026 β 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