idpf_get_rxfh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_get_rxfh β€” your girl's guide to the rx flow hash indirection table πŸŽ€

okay so real talk: this one's from the Kernel API Manual, section 9 (idpf_get_rxfh(9)), and it's lowkey iconic if you're into RSS. stay with me bestie, it's actually cute ✨


🌸 SYNOPSIS 🌸

int idpf_get_rxfh (struct net_device *netdev , struct ethtool_rxfh_param
*rxfh );

that's the whole vibe. two args, one int back. slay. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure. yes bestie, the actual NIC we're talking about, the main character πŸ‘‘
  • rxfh β€” a pointer to the param struct β€” and that struct is packing indir, key, and hfunc 😌

✨ DESCRIPTION ✨

so here's the tea: the RSS LUT and the Key info? they don't get freshly yanked from the hardware β€” nope. they're read straight out of the driver's cached copy. cached! efficient! obsessed. πŸ’–

but here's the little plot twist 🌈 β€” when rxhash is off, the rss lut will be displayed as zeros. not a bug, just how it is, fr fr. zeros. all of them. πŸ’€

ngl this is the kind of detail you wanna remember before you're like "bestie why is my LUT empty" πŸ™ˆ

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • -errno otherwise 😭

that's it. that's the return. short, sweet, no cap.


πŸ’œ SEE ALSO πŸ’œ

alright buckle up, this list is LONG and honestly? it ate. πŸ”₯

  • Kernel file: ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c

and the whole friend group:

like, forty-plus entries, and every single one matters πŸ’…


and that's the whole page, bestie 🌸✨

cute little sign-off for the record: this one lives in the Linux kernel source at ./drivers/net/ethernet/intel/idpf, dated October 2026, and you're reading idpf_get_rxfh(9). periodt. πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from