STRUCT IDPF_TX_OFFLOAD_PARAMS(9)
β¨ struct idpf_tx_offload_params β NAME β¨
okay so bestie, welcome to the Kernel API Manual π
this little page is all about struct idpf_tx_offload_params β literally the offload parameters for a given packet π
it's giving "one struct to rule every packet's offload vibes" and honestly? obsessed. β¨
πΈ SYNOPSIS πΈ
struct idpf_tx_offload_params {
u32 tx_flags;
u32 hdr_offsets;
u32 cd_tunneling;
u32 tso_len;
u16 mss;
u16 tso_segs;
u16 tso_hdr_len;
u16 td_cmd;
};
no cap, that's the whole vibe right there π copy it exactly if you're typing it out, bestie, don't be out here "fixing" the spacing π«Ά
π Members π
like a group chat but make it a struct β every member has a role and every role slays:
tx_flagsβ feature flags enabled for this packet π₯ like the lil badges this packet gets to wear, iykykhdr_offsetsβ offset parameter for single queue model π« yes, single queue model specifically, don't forget that partcd_tunnelingβ type of tunneling enabled for single queue model π again with the single queue model, bestie, we stay consistenttso_lenβ total length of payload to segment βοΈ the whole payload, not just a piecemssβ segment size πtso_segsβ number of segments to be sent π how many lil chunks are getting yeeted outtso_hdr_lenβ length of headers to be duplicated πtd_cmdβ command field to be inserted into descriptor π― it goes into the descriptor, periodt
π gentle reminder thathdr_offsetsandcd_tunnelingare both all about the single queue model β if you're in your splitq era, head over to the splitq struct instead, bestie π¦
π SEE ALSO π
this is the iconic friend group, honestly, the whole squad pulls up:
- kernel file
./drivers/net/ethernet/intel/idpf/idpf_txrx.hstructidpf_tx_splitq_params(9)π enum idpf_queue_flags_t(9)struct idpf_vec_regs(9)struct idpf_intr_reg(9)struct idpf_q_vector(9)struct idpf_rx_queue(9)struct idpf_tx_queue(9)struct idpf_buf_queue(9)struct idpf_compl_queue(9)struct idpf_sw_queue(9)struct idpf_rxq_set(9)struct idpf_bufq_set(9)struct idpf_rxq_group(9)struct idpf_txq_group(9)idpf_size_to_txd_count(9)idpf_tx_singleq_build_ctob(9)idpf_tx_splitq_build_desc(9)idpf_vport_intr_set_wb_on_itr(9)idpf_tx_splitq_get_free_bufs(9)
that's the whole roster, no one left out π
and that's the page, bestie!! π§ source lives over in ./drivers/net/ethernet/intel/idpf, dated October 2026, and the footer vibe is still struct idpf...fload_params(9) β mwah, go forth and build descriptors responsibly π
π
π¦ 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