arc_emac_rx(9)
π arc_emac_rx(9) β the Kernel API Manual, bestie edition β¨
okay so real talk, we're deep in the Kernel API Manual today and the star of the show is arc_emac_rx. she's a little function, she processes Rx packets, she's lowkey iconic. let's get into it π
β¨ NAME β¨
arc_emac_rx β processing of Rx packets. that's it, that's her vibe. π
π¦ SYNOPSIS π¦
int arc_emac_rx (struct net_device *ndev , int budget );
look at her. two args, one int coming back at you. no cap. π
πΈ ARGUMENTS πΈ
ndevβ Pointer to the network device. like, the actual interface. it's giving "this is the main character." π«Άbudgetβ How many BDs to process on 1 call. so basically the how-much-can-she-get-done-in-one-go limit. budget queen fr fr. π
β RETURN β
Number of processed BDs. that's the whole return, she's not doing the most, she's just telling you how many she handled. slay. β¨
π DESCRIPTION π
Iterate through Rx BDs and deliver received packages to upper layer.
that's literally the whole thing: she loops through the Rx BDs and hands the received packages up to the upper layer. a lil delivery service, a lil fairy godmother with a queue. π§ obsessed.
π SEE ALSO π
Kernel file ./drivers/net/ethernet/arc/emac_main.c β yeah, that's where the lore lives, go read it iykyk.
the whole friend group, in order:
arc_emac_tx_avail(9)arc_emac_adjust_link(9)arc_emac_get_drvinfo(9)arc_emac_tx_clean(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_tx_queue(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)
all her mutuals. check them out, they're all part of the same ./drivers/net/ethernet/arc era. π
ok that's the page!! no notes, she ate. π«Ά
and that's a wrap, bestie β this little writeup sources from ./drivers/net/ethernet/arc, dated October 2026, and it's called arc_emac_rx(9) in case you forgot already (you didn't, i believe in you). mwah ππ
β¨
π¦ 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