ice_xdp_rx_hash(9)
π ice_xdp_rx_hash(9) π
πΈ NAME πΈ
okay bestie, meet ice_xdp_rx_hash β the RX hash XDP hint handler β¨. This page is from the Kernel API Manual, and yes, the manual name is folded in right here near the top instead of doing that boring header repeat π
.
π¦ SYNOPSIS π¦
int ice_xdp_rx_hash (const struct xdp_md *ctx , u32 *hash , enum
xdp_rss_hash_type *rss_type );
π ARGUMENTS π
ctxβ the XDP buff pointer, literally the buff you're handing over π«Άhashβ the hash destination address, aka where the hash is headed πrss_typeβ the XDP hash type destination address, so this is where the XDP hash type goes π«
π DESCRIPTION π
okay so the whole assignment is: copy the RX hash over to the destination address β but only if it's actually available β and copy its type to the destination address too. That's the vibe check: hash info goes in, type info goes in, copy, copy, slay ππ.
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/ice/ice_txrx_lib.c - Related pages, all exact and all iconic:
ice_release_rx_desc(9),ice_get_rx_hash(9),ice_rx_hash_to_skb(9),ice_rx_gcs(9),ice_rx_csum(9),ice_ptp_rx_hwts_to_skb(9),ice_get_ptype(9),ice_process_skb_fields(9),ice_receive_skb(9),ice_clean_xdp_tx_buf(9),ice_clean_xdp_irq(9),__ice_xmit_xdp_ring(9),ice_finalize_xdp_rx(9),ice_xdp_rx_hw_ts(9),ice_xdp_rx_hash_type(9),ice_xdp_rx_vlan_tag(9)
and that's the whole page, bestie β mwah π
β¨. Cute little source/version + date sign-off: ./drivers/net/ethernet/intel/ice, dated October 2026 π«Άπ
π¦ 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