oa_tc6_start_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… oa_tc6_start_xmit(9) πŸ¦‹

okay so this is a page straight outta the Kernel API Manual, and it's all about oa_tc6_start_xmit β€” the function that actually gets your tx skb out the door. yes bestie, the skb that's carrying an ethernet frame. it's the whole send-it moment. let's go ✨


🌸 SYNOPSIS 🌸

netdev_tx_t oa_tc6_start_xmit (struct oa_tc6 *tc6 , struct sk_buff *skb
);

that's the whole signature, no cap. two args, one return type netdev_tx_t, and it's serving main-character energy in your transmit path πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • tc6 β€” your oa_tc6 struct. the whole context object, the vibe holder, the thing that knows what's going on πŸ’–
  • skb β€” the socket buffer, and inside it is where the ethernet frame is stored. this is the actual cargo, the packet itself πŸ“

πŸ‘‘ RETURN πŸ‘‘

so what comes back out of this icon? it's giving two possible answers:

  • NETDEV_TX_OK β€” returned either when the packet got successfully queued for transmission or when the packet got dropped. and yes, both of those are the same return value, no cap πŸ˜­πŸ’€
  • NETDEV_TX_BUSY β€” returned when there's literally no room to queue the packet. the queue is full, the club is at capacity, come back later πŸ™ˆ
✨ important deets on the dropping situation, bestie: a packet can get dropped because linearizing the buffer failed, or because disable_traffic is set from an earlier fatal error. so if you see a drop, it's not random, something upstream already went sideways. fr fr keep that in mind 🫢

πŸ’œ SEE ALSO πŸ’œ

okay the cross-references, because this function does not exist alone, she has a whole friend group 🌈

Kernel file ./drivers/net/ethernet/oa_tc6.c and all of these lovely little functions:

like, the whole oa_tc6 family tree is right there. go read them, iykyk πŸ“šπŸ’…


✿ and that's the page! ✿ this lil slice of manual lives under ./drivers/net/ethernet, stamped October 2026 β€” mwah, go queue some packets bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from