e1000_receive_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk: this page comes straight out of the Kernel API Manual, and it's about one tiny little helper in the e1000 driver family. Don't let the size fool you bestie, it's doing the Lord's work. 🫢

✨ NAME ✨

e1000_receive_skb β€” the helper function that handles Rx indications πŸ’Œ

🌸 SYNOPSIS 🌸

void e1000_receive_skb (struct e1000_adapter *adapter , struct
net_device *netdev , struct sk_buff *skb , u32 staterr , __le16 vlan );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the board private structure. it's giving "the driver's whole personality lives in here" energy πŸŽ€
  • netdev β€” pointer to the netdev struct. the network device representation, iconic, no notes ✨
  • skb β€” pointer to the sk_buff that's getting indicated up to the stack. this is the actual packet, main character behavior fr πŸ’…
  • staterr β€” the descriptor's extended error and status field, exactly as written by the hardware. hardware wrote it, we do not edit it, periodt πŸ”₯
  • vlan β€” the descriptor's vlan field, as written by hardware (and ngl, no le/be conversion happens here β€” that's the whole point, so do not go converting it, bestie 😭)
quick vibe check: staterr and vlan are raw hardware output. don't get creative with them. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file, front and center:

  • Kernel file ./drivers/net/ethernet/intel/e1000e/netdev.c

and now the whole extended cinematic universe, because apparently everyone is related at this family reunion 🫢:

like I said. whole family reunion. everybody showed up. πŸ’€


and that's the page!! 🧚 this lil run of sunshine is filed under the source/version tag ./drivers/net/ethernet/intel/e..., dated October 2026, and it answers to the name e1000_receive_skb(9) β€” slay, go read the code bestie, ily πŸ“πŸ’œ

πŸ“¦ where this page comes from