ofld_xmit(9)
π ofld_xmit(9) β from the Kernel API Manual β¨
okay bestie, so this one's a kernel API page from the Kernel API Manual, and it's literally about yeeting a packet through an offload queue. tiny page, big main-character energy. let's get into it π«Ά
πΈ NAME πΈ
ofld_xmit β send a packet through an offload queue. no cap, that's the whole job π
β SYNOPSIS β
int ofld_xmit (struct sge_uld_txq *q , struct sk_buff *skb );
like, it takes two things and gives you back an int. the vibes are immaculate and also very specific π
π¦ ARGUMENTS π¦
qβ the Tx offload queue. the queue bestie. the place the packet is headed πskbβ the packet. the actual star of the show, the main character, the whole reason we're here β¨
π₯ DESCRIPTION π₯
Send an offload packet through an SGE offload queue.
periodt. that's the description. it does exactly what it says on the tin and it does it slayfully. no hidden lore, no extra steps, just packet β offload queue π§
π SEE ALSO π
so like, this function is not doing a solo performance. the whole SGE friend group is involved, plus the kernel file ./drivers/net/ethernet/chelsio/cxgb4/sge.c β go say hi to it, it's iconic π
txq_avail(9)fl_cap(9)fl_starving(9)deferred_unmap_destructor(9)free_tx_desc(9)reclaim_completed_tx(9)cxgb4_reclaim_completed_tx(9)free_rx_bufs(9)unmap_rx_buf(9)refill_fl(9)alloc_ring(9)sgl_len(9)flits_to_desc(9)is_eth_imm(9)calc_tx_flits(9)cxgb4_write_sgl(9)cxgb4_ring_tx_db(9)cxgb4_inline_tx_skb(9)t4_sge_eth_txq_egress_update(9)cxgb4_eth_xmit(9)t4vf_is_eth_imm(9)t4vf_calc_tx_flits(9)cxgb4_vf_eth_xmit(9)reclaim_completed_tx_imm(9)cxgb4_ethofld_send_flowc(9)is_imm(9)ctrlq_check_stop(9)ctrl_xmit(9)restart_ctrlq(9)t4_mgmt_tx(9)is_ofld_imm(9)calc_tx_flits_ofld(9)txq_stop_maperr(9)ofldtxq_stop(9)service_ofldq(9)restart_ofldq(9)skb_txq(9)is_ctrl_pkt(9)t4_ofld_send(9)cxgb4_ofld_send(9)ofld_xmit_direct(9)t4_crypto_send(9)cxgb4_crypto_send(9)cxgb4_pktgl_to_skb(9)t4_pktgl_free(9)cxgb4_sgetim_to_hwtstamp(9)t4_systim_to_hwstamp(9)t4_rx_hststamp(9)t4_tx_hststamp(9)t4_tx_completion_handler(9)t4_ethrx_handler(9)restore_rx_bufs(9)is_new_response(9)rspq_next(9)process_responses(9)napi_rx_handler(9)t4_intr_handler(9)bar2_address(9)t4_sge_alloc_eth_txq(9)t4_free_sge_resources(9)t4_sge_stop(9)t4_sge_init_soft(9)t4_sge_init(9)
that's the whole group chat, and every single one of them ate ππ
and that's the page!! β¨ source/version goes out to ./drivers/net/ethernet/chelsio... and the date stamp is October 2026, signed off in true ofld_xmit(9) fashion. mwah ππ¦
π¦ 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