ice_get_rx_hash(9)
π ice_get_rx_hash(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to ice_get_rx_hash(9) β yes that's the section 9 kernel API manual, we're doing driver-internals errands today and honestly? it's giving "small function, big friend group" π«Ά
β¨ NAME β¨
ice_get_rx_hash β get the RX hash value from the descriptor, literally that's the whole job π
πΈ SYNOPSIS πΈ
u32 ice_get_rx_hash (const union ice_32b_rx_flex_desc *rx_desc );
like, you hand it a descriptor, it hands you back a u32, no drama, no cap β¨
π ARGUMENTS π
rx_descβ the specific descriptor. that's it, that's the whole arg, she's a pointer to aconst union ice_32b_rx_flex_descand she's the main character of this function π¦
π DESCRIPTION π
so what does it actually do? it returns the hash β if it's present. and if it's not present? you get 0. zero. nothing. the void. π that's the entire contract, bestie, no hidden lore.
ngl the brevity is iconic. hash present β hash. hash absent β 0. periodt. π
π SEE ALSO π
first up, the kernel file where this lives, so you can go read the source like the curious little gremlin you are π§:
./drivers/net/ethernet/intel/ice/ice_txrx_lib.c
and now the whole friend group, all fifteen of them, no one left out (iykyk) π:
ice_release_rx_desc(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_hash(9)ice_xdp_rx_vlan_tag(9)
okay that's the whole page, go touch some descriptors πΈ
sign-off szn: this lil masterpiece lives under ./drivers/net/ethernet/intel/ice, and it was dated October 2026 β future vibes only, we love a timestamp that ate π₯πβ
π¦ 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