is_eth_imm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… is_eth_imm(9) β€” like, the Kernel API Manual page, bestie ✨

Okay so this is a page from the Kernel API Manual (section 9, the kernel-API girlies) and it's all about one tiny little question: can this Ethernet packet just... go? Right now? As immediate data? Let's get into it 🫢


🌸 NAME 🌸

is_eth_imm β€” literally asking: can an Ethernet packet be sent as immediate data? πŸ‘€


✨ SYNOPSIS ✨

int is_eth_imm (const struct sk_buff *skb );

That's the whole vibe. Returns an int, takes one pointer, does not miss πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the packet. That's it. That's the argument. It's the packet in question, bestie, the little guy we're doing a vibe check on πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

So what this does is it returns whether an Ethernet packet is small enough to fit completely as immediate data. Completely!! Like, the whole thing, no fragments left behind, no "oops some of it went elsewhere" β€” the entire packet fits in the immediate data spot. If it does, slay, beautiful, iconic. If not, well, it's giving "we need a different path" 😭

It just tells you yes or no. It does not do the sending. It is not the main character of the transmit path, it is the tasteful side character doing a quick check. Very demure, very mindful πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

The kernel file this whole thing lives in: ./drivers/net/ethernet/chelsio/cxgb4vf/sge.c β€” and ngl the rest of the friend group is long, so buckle up πŸ“

Like I said. A lot of friends. Go read them, they're all in the same SGE cinematic universe 🌈


🧚 Quick reminder bestie: this page returns a yes/no on whether the packet is small enough to go fully as immediate data β€” that's the entire claim. No extra lore, no invented behaviour, periodt πŸ’œ

Okay that's the page!! Mwah 😘 This cutie came from the source ./drivers/net/ethernet/chelsio... and it's dated October 2026 β€” so yeah, future-flavoured documentation, we love to see it β­πŸ’–

πŸ“¦ where this page comes from