arc_free_tx_queue(9)
β¨ arc_free_tx_queue(9) β¨
okay bestie, welcome to the Kernel API Manual page for arc_free_tx_queue β the function whose whole personality is "free skb from tx queue" π
πΈ NAME πΈ
arc_free_tx_queue β literally just frees skb from the tx queue, that's the whole gig, no cap π
π¦ SYNOPSIS π¦
void arc_free_tx_queue (struct net_device *ndev );
nothing extra, nothing sneaky β it takes one thing and gives you back void (as in: it returns nothing, not even a vibe check) π
π ARGUMENTS π
ndevβ pointer to the network device π that's it, that's the whole argument list, she's lowkey minimal and we respect it.
π DESCRIPTION π
so here's the tea β β this function must be called while EMAC disable. like, that's not a suggestion, that's the whole rule fr fr π. Read it, memorise it, live it.
β οΈ seriously, the manpage is very clear and very brief on this: the call has to happen while EMAC is disabled. Not before, not "eh it'll probably be fine" β disabled. periodt π
arc_free_tx_queue frees skb from the tx queue. That's the description, that's the source of truth, I'm not adding lore that isn't there π«Ά
β SEE ALSO β
peep the kernel file π ./drivers/net/ethernet/arc/emac_main.c and then the whole friend group of related functions:
arc_emac_tx_avail(9)arc_emac_adjust_link(9)arc_emac_get_drvinfo(9)arc_emac_tx_clean(9)arc_emac_rx(9)arc_emac_rx_miss_handle(9)arc_emac_rx_stall_check(9)arc_emac_poll(9)arc_emac_intr(9)arc_emac_open(9)arc_emac_set_rx_mode(9)arc_free_rx_queue(9)arc_emac_stop(9)arc_emac_stats(9)arc_emac_tx(9)arc_emac_set_address(9)arc_emac_restart(9)
like, the entire emac extended universe is right there, go read them, iykyk πβ¨
anyway that's the page π it lives in ./drivers/net/ethernet/arc, it's dated October 2026, and honestly? iconic. ate and left no crumbs, stream arc_free_tx_queue(9) ππ§ββοΈ
π¦ 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