ice_get_rx_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a const union ice_32b_rx_flex_desc and 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) πŸ’–:


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