idpf_rx_sin..._flex_fields(9)
π idpf_rx_sin..._flex_fields β Kernel API Manual, section 9 π
okay bestie so picture this: you're deep in the kernel, section 9 of the Kernel API Manual, and this little function is literally the flex β no cap, "flex" is in the name. It lives in ./drivers/net/ethernet/intel/idpf so you already know it's giving Intel networking main character energy. Let's get into it β¨
πΈ NAME πΈ
idpf_rx_singleq_extract_flex_fields β pulls fields out of the Rx descriptor. that's it, that's the vibe π«Ά
π¦ SYNOPSIS π¦
void idpf_rx_singleq_extract_flex_fields (const union virtchnl2_rx_desc
*rx_desc , struct libeth_rqe_info *fields );
it returns void, so likeβ¦ it's not gonna hand you a value back, bestie. it just does the thing π
π ARGUMENTS π
rx_descβ the descriptor you want processed. the thing being decoded, the moment itself πfieldsβ storage for the extracted values. this is where the good stuff lands π
β¨ DESCRIPTION β¨
So what does it actually do? It decodes the Rx descriptor and extracts the relevant info, including the size and the Rx packet type. that's the whole assignment, and it ate π₯
β οΈ hold up β important caveat, don't skip this: this function only operates on the VIRTCHNL2_RXDID_2_FLEX_SQ_NIC flexible descriptor writeback format. like, that's the only format it'll flex with. anything else and you're on your own π
π SEE ALSO π
first up, the literal kernel file this lives in β go read the source, iykyk:
Kernel file ./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
and then the whole friend group, in the order they showed up (no skipping, we don't do that here π):
idpf_tx_singleq_csum(9)idpf_tx_singleq_dma_map_error(9)idpf_tx_singleq_map(9)idpf_tx_singleq_get_ctx_desc(9)idpf_tx_singleq_build_ctx_desc(9)idpf_tx_singleq_frame(9)idpf_tx_singleq_clean(9)idpf_tx_singleq_clean_all(9)idpf_rx_singleq_test_staterr(9)idpf_rx_singleq_is_non_eop(9)idpf_rx_singleq_csum(9)idpf_rx_singleq_base_csum(9)idpf_rx_singleq_flex_csum(9)idpf_rx_singleq_base_hash(9)idpf_rx_singleq_flex_hash(9)__idpf_rx_singleq_process_skb_fields(9)idpf_rx_buf_hw_update(9)idpf_rx_singleq_buf_hw_alloc_all(9)idpf_rx_singleq_extract_base_fields(9)idpf_rx_singleq_extract_fields(9)idpf_rx_singleq_clean(9)idpf_rx_singleq_clean_all(9)idpf_vport_singleq_napi_poll(9)
and that's the page, bestie π sourced from ./drivers/net/ethernet/intel/idpf, dated October 2026, filed under idpf_rx_sin..._flex_fields(9) β yes the title is truncated with ..., that's just how the manpage header do, we love a mysterious queen β go extract some fields, slay, periodt π
πΈ
π¦ 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