ice_rx_hash_to_skb(9)
π ice_rx_hash_to_skb(9) β the kernel API manual, bestie edition π
okay so picture this: you're deep in the ice driver docs for the Linux kernel API manual, and you land on this little function. it's giving "quietly does one very specific job" and honestly? we love that for us. β¨
πΈ NAME πΈ
ice_rx_hash_to_skb β sets the hash value in the skb, that's literally it, that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
void ice_rx_hash_to_skb (const struct ice_rx_ring *rx_ring , const union
ice_32b_rx_flex_desc *rx_desc , struct sk_buff *skb , u16 rx_ptype );
no cap, that's the signature. four params, returns void, gets straight to business π₯
π ARGUMENTS π
rx_ringβ the descriptor ring. the whole ring, the big picture, main character energy πrx_descβ one specific descriptor out of the bunch. not the ring, this one. very pick-me of it ngl πskbβ pointer to the current skb. your beloved socket buffer, right there in the flesh π¦rx_ptypeβ the ptype value straight from the descriptor. yes, it comes from the descriptor, don't @ me π
π SEE ALSO π
the kernel file lives here, bestie, go read it:
./drivers/net/ethernet/intel/ice/ice_txrx_lib.c
and the whole friend group shows up too β every single one of these, no skipping:
ice_release_rx_desc(9)ice_get_rx_hash(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)
like, the entire ice rx/tx friend group is here and they all ate π
β οΈ friendly reminder: everything above is exactly what the page says β the ring, the descriptor, the skb pointer, the ptype, and that file path. no invented lore, no extra tips, we stay factual while staying cute π
and that's the tea, bestie π this page is from the ./drivers/net/ethernet/intel/ice corner of the kernel docs, dated October 2026 β so go forth, set that hash value in that skb, and slay β¨π
π
π¦ 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