i40e_set_rxfh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_set_rxfh(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” yes we're literally in the kernel docs rn, and honestly? iconic. πŸŽ€

This one's all about i40e_set_rxfh β€” the function that sets the rx flow hash indirection table. That's the whole vibe. πŸ’…


🌸 NAME 🌸

i40e_set_rxfh β€” set the rx flow hash indirection table πŸ¦‹


⭐ SYNOPSIS ⭐

int i40e_set_rxfh (struct net_device *netdev , struct ethtool_rxfh_param
*rxfh , struct netlink_ext_ack *extack );

πŸ’– ARGUMENTS πŸ’–

  • netdev β€” the network interface device structure, aka the nic we're talking about 🩷
  • rxfh β€” pointer to the param struct (indir, key, hfunc), this is where the actual settings live, no cap πŸ‘‘
  • extack β€” extended ACK from the Netlink message, so the kernel can talk back to userspace when something's up 🌈

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea β˜•: this function returns -EINVAL if the table specifies an invalid queue id β€” like, if you hand it an indirection table pointing at a queue that doesn't exist, it's gonna ✨reject✨ you. Not me being mean, that's just the contract. πŸ’€

Otherwise? It returns 0 after programming the table. Slayed. periodt. πŸ’…

ngl, the -EINVAL case is the only drama here β€” every other path is a happy little 0 once the table's been programmed. 🫢

🧚 SEE ALSO 🧚

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c, plus the whole friend group of related functions β€” every single one, bestie, we're not skipping any πŸ’œ:


🌟 and that's the page, bestie!

okay final sign-off ily 🫢 β€” this one lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under i40e_set_rxfh(9) in the Kernel API Manual. go forth and program that indirection table, you absolute main character πŸ‘‘πŸ’–

πŸ“¦ where this page comes from