idpf_rx_sin..._base_fields(9)
π idpf_rx_sin..._base_fields β Kernel API Manual β¨
okay bestie, so we're in the kernel API manual and today's main character is idpf_rx_sin..._base_fields (yes the name is truncated with ... in the header, that's just how she is, iykyk π).
π NAME π
idpf_rx_singleq_extract_base_fields β literally just extracts fields from the Rx descriptor. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
void idpf_rx_singleq_extract_base_fields (const union virtchnl2_rx_desc
*rx_desc , struct libeth_rqe_info *fields );
she's a void function, she takes two pointers, she does her thing. periodt. π₯
π«Ά ARGUMENTS π«Ά
rx_descβ the descriptor to process, aka the lil guy you're handing over πfieldsβ storage for extracted values, aka where the good stuff gets put πΈ
π¦ DESCRIPTION π¦
so what she does is: decode the Rx descriptor and pull out the relevant info, which includes the size and the Rx packet type. iconic behavior honestly π
β οΈ real talk though: this function only operates on the VIRTCHNL2_RXDID_1_32B_BASE_M base 32byte descriptor writeback format. that's it. that's the only format she fw. don't try to slide her anything else π
π SEE ALSO π
the whole friend group, in order, fr fr:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c 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_flex_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 tea π this page lives at ./drivers/net/ethernet/intel/idpf, dated October 2026, and the header/footer were both like idpf_rx_sin..._base_fields(9) β truncated queen π
slay, go read the source 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