start_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… start_xmit ✨

okay so bestie, this one's from the Kernel API Manual and it's literally the whole start_xmit situation β€” the function that kicks an skb out the door and onto the ll2 interface. yes that's the vibe. let's get into it 🫢


🌸 NAME 🌸

start_xmit β€” she transmits an skb over the ll2 interface, that's it, that's the girlie πŸ’…


✨ SYNOPSIS ✨

int start_xmit (struct qed_dev *cdev , struct sk_buff *skb , unsigned
long xmit_flags );

like, three things go in, an int comes out. iconic signature ngl πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” the Qed dev pointer, aka who we're doing this for πŸ’–
  • skb β€” the SKB. just… the SKB. that's the whole description bestie, no notes πŸ™ˆ
  • xmit_flags β€” the transmit options, and these bad boys are defined by the enum qed_ll2_xmit_flags ⭐

🌈 RETURN 🌈

0 on success β€” slay, we ate β€” otherwise you get an error value. so like, check it, fr fr 😭


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk πŸ‘‘


so yeah, that's the whole page. big main character energy for a tiny transmit function honestly.

signing off from ./include/linux/qed β€” dated October 2026, and yes, start_xmit(9) again at the bottom because she said it twice πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from