iavf_create_tx_ctx(9)
β¨ NAME β¨
iavf_create_tx_ctx(9) β yes bestie, thatβs the manual name β is a Kernel API Manual function that builds the Tx context descriptor. Itβs giving βsmall helper, very important descriptor energyβ π
πΈ SYNOPSIS πΈ
Hereβs the exact signature, bb β do not freestyle the types or the order:
void iavf_create_tx_ctx (struct iavf_ring *tx_ring , const u64
cd_type_cmd_tso_mss , const u32 cd_tunneling , const u32 cd_l2tag2 );
π ARGUMENTS π
tx_ringβ the ring where youβre creating this descriptor. Put the descriptor on that ring, okay? πcd_type_cmd_tso_mssβ Quad Word 1. Thatβs the whole note; itβs literally Quad Word 1. β¨cd_tunnelingβ Quad Word 0 - bits 0-31. Keep those bits exactly where they live. π«Άcd_l2tag2β Quad Word 0 - bits 32-63. Same Quad Word 0, but the upper bits, bestie. π¦
π₯ SEE ALSO π₯
The kernel file for this one is ./drivers/net/ethernet/intel/iavf/iavf_txrx.c β that path is exact, donβt play with it. π
Then the whole bestie lineup:
iavf_is_descriptor_done(9)iavf_unmap_and_free_tx_resource(9)iavf_clean_tx_ring(9)iavf_free_tx_resources(9)iavf_get_tx_pending(9)iavf_force_wb(9)iavf_detect_recover_hung(9)iavf_clean_tx_irq(9)iavf_enable_wb_on_itr(9)iavf_update_itr(9)iavf_setup_tx_descriptors(9)iavf_clean_rx_ring(9)iavf_free_rx_resources(9)iavf_setup_rx_descriptors(9)iavf_release_rx_desc(9)iavf_receive_skb(9)iavf_alloc_rx_buffers(9)iavf_rx_csum(9)iavf_legacy_rx_csum(9)iavf_flex_rx_csum(9)iavf_legacy_rx_hash(9)iavf_flex_rx_hash(9)iavf_flex_rx_tstamp(9)iavf_process_skb_fields(9)iavf_cleanup_headers(9)iavf_add_rx_frag(9)iavf_build_skb(9)iavf_is_non_eop(9)iavf_extract_legacy_rx_fields(9)iavf_extract_flex_rx_fields(9)iavf_clean_rx_irq(9)iavf_update_enable_itr(9)iavf_napi_poll(9)iavf_tx_prepare_vlan_flags(9)iavf_tso(9)iavf_tx_enable_csum(9)__iavf_chk_linearize(9)__iavf_maybe_stop_tx(9)iavf_tx_map(9)iavf_xmit_frame_ring(9)iavf_xmit_frame(9)
Okay thatβs the whole page, bestie π«Ά source/version is ./drivers/net/ethernet/intel/iavf, and the date on this cutie is October 2026 π. Go build that Tx context descriptor and slay β¨π
π¦ 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