ksz88x3_tc_ets_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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