ppe_rss_hash_config_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ppe_rss_hash_config_set(9) πŸ’…

okay bestie, so this is a page straight out of the Kernel API Manual β€” it's ppe_rss_hash_config_set(9), and it's giving "niche but iconic" energy. ngl it's short, but every word ate. let's get into it πŸŽ€


✨ NAME ✨

ppe_rss_hash_config_set β€” like, the whole vibe of this function is "configure the PPE hash settings for the packet received" 🌸 that's it, that's the job, and it does it slayfully.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ppe_rss_hash_config_set (struct ppe_device *ppe_dev , int mode ,
struct ppe_rss_hash_cfg cfg );

so it returns an int, takes a struct ppe_device *ppe_dev, an int mode, and a struct ppe_rss_hash_cfg cfg β€” copy that exactly, no cap, don't be out here renaming things πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • ppe_dev β€” the PPE device. yes, THE device. your main character 🫢
  • mode β€” this is where you tell it to configure the RSS hash for the packet type IPv4 and IPv6. pick your fighter (or, like, both).
  • cfg β€” the RSS hash configuration itself. the ~details~ ✨

🌈 DESCRIPTION 🌈

so basically: PPE RSS hash settings are configured for the packet type IPv4 and IPv6. that's literally the whole description bestie, it's a short king and we respect it πŸ‘‘


⭐ RETURN ⭐

  • 0 on success πŸ’š
  • a negative error code on failure 😭 (so like, if you see a negative number, it did not slay)

πŸ”₯ SEE ALSO πŸ”₯

go read these next, iykyk:

like, that's a whole friend group of functions and structs and enums β€” go say hi to all of them πŸ§šβ€β™€οΈ


lowkey reminder: keep the args exactly as they're written, int mode and struct ppe_rss_hash_cfg cfg by value, no sneaky pointer-swapping πŸ’…

and that's the page!! source/version is from ./drivers/net/ethernet/qualcom... and it's dated October 2026 β€” so yeah, ahead of its time, iconic behavior πŸ’œ bye bestie, go configure some hashes πŸ“

πŸ“¦ where this page comes from