oa_tc6_start_xmit(9)
π 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β youroa_tc6struct. 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:
oa_tc6_read_registers(9)oa_tc6_read_register(9)oa_tc6_read_register_mms(9)oa_tc6_write_registers(9)oa_tc6_write_register(9)oa_tc6_write_register_mms(9)oa_tc6_zero_align_receive_frame_enable(9)oa_tc6_init(9)oa_tc6_exit(9)
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
- 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