gether_set_qmult(9)
π gether_set_qmult β kernel API manual, section 9, bestie π
Ok so real talk, this one lives in the Kernel API Manual (section 9), and it's short but it's mighty. Let's get into it β¨
πΈ NAME πΈ
gether_set_qmult β bestie. it literally initializes an ethernet-over-usb link with a multiplier. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
void gether_set_qmult (struct net_device *net , unsigned qmult );
not me giving you the exact signature character-for-character because we do NOT play about prototypes π
π ARGUMENTS π
netβ this is the device that represents this link. like, the actual net_device, the main character here πqmultβ the queue multiplier. it's anunsigned, it's a multiplier, it multiplies queues. iykyk π
π₯ DESCRIPTION π₯
So what this does: it sets the queue length multiplier of this ethernet-over-usb link. periodt. π«Ά
And the golden rule of it β for higher speeds use longer queues. that's it, that's the tea. faster link = longer queue, no cap. β¨
π§ SEE ALSO π§
Kernel file ./drivers/usb/gadget/function/u_ether.h β go read it, it's giving source of truth π
And the whole friend group, all in section 9:
gether_set_gadget(9)gether_attach_gadget(9)gether_detach_gadget(9)gether_set_dev_addr(9)gether_get_dev_addr(9)gether_set_host_addr(9)gether_get_host_addr(9)gether_get_host_addr_cdc(9)gether_get_host_addr_u8(9)gether_get_qmult(9)gether_get_ifname(9)gether_set_ifname(9)
π and if you're wondering where the setter's other half is β yeah, gether_get_qmult(9) is right there in the list. matched set, iconic behavior. π
ok bye bestie, that's the whole page β brought to you from ./drivers/usb/gadget/function, dated October 2026, the gether_set_qmult(9) girlies stay winning πβπ
π¦ 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