ei_receive(9)
π ei_receive β girl help, there are packets π
okay so bestie, you're in the ei_receive(9) page of the Kernel API Manual, and honestly? this one's short and sweet. let's get into it π
β¨ NAME β¨
ei_receive β receive some packets
like, literally. that's the whole job. packets come in, you go get 'em π
π¦ SYNOPSIS π¦
void ei_receive (struct net_device *dev );
no cap, that's the entire signature. she's void, she takes one arg, she does the thing β¨
πΈ ARGUMENTS πΈ
devβ the network device that receive is gonna be run with. that's your main character right there π
π DESCRIPTION π
okay so picture this: we have a good packet (or, like, several β packet*s*, plural, icon behavior π«Ά). the whole vibe of this function is getting it/them out of the buffers. that's it. that's the assignment.
lowkey important detail tho: this is called with the lock held π so like, whoever's calling you better already be holding it. don't come in here unlocked, that's not the vibe. periodt.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/8390/lib8390.c ei_tx_err(9)ei_tx_intr(9)ei_rx_overrun(9)do_set_multicast_list(9)ethdev_setup(9)
go read those too bestie, they're all in the same friend group fr fr πβ¨
ngl this page lives in./drivers/net/ethernet/8390and it's dated October 2026 β and yes, it's also known asei_receive(9), we love a consistent queen π ππ¦
that's the whole page, hope it ate πΈππ
π¦ 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