dev_change_tx_queue_len(9)
π dev_change_tx_queue_len β like, the whole vibe of a kernel API page, but make it make sense
okay so bestie, welcome to the Kernel API Manual π β this is the page for dev_change_tx_queue_len, and yes it does exactly what it says on the tin, no cap.
β¨ NAME β¨
dev_change_tx_queue_len β changes the TX queue length of a netdevice π
πΈ SYNOPSIS πΈ
int dev_change_tx_queue_len (struct net_device *dev , unsigned long
new_len );
that's it. two arguments. she's simple, she's iconic, she's literally a one-liner π¦
π ARGUMENTS π
devβ the device π» (your netdevice, the main character of this whole operation)new_lenβ the new tx queue length β (the fresh number you're handing over)
π RETURN π
0 on success, -errno on failure π β so like, if it works you get a cute little zero, and if it doesn't you get a negative errno telling you what went wrong π«Ά
π₯ SEE ALSO π₯
Kernel file ./net/core/dev_api.c bestie, that's where the magic lives β¨ β and while you're there, go say hi to the whole friend group:
dev_change_name(9)dev_set_alias(9)dev_change_flags(9)dev_set_group(9)dev_change_net_namespace(9)dev_change_carrier(9)dev_change_proto_down(9)dev_open(9)dev_close(9)dev_disable_lro(9)dev_set_promiscuity(9)dev_set_allmulti(9)dev_set_mac_address(9)netdev_state_change(9)
literally the entire squad, go read them all, iykyk π
and that's the page!! π§ mwah π β brought to you by ./net/core, dated October 2026, manual name dev_change_tx_queue_len(9) π see u in the kernel, bestie π
π¦ 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