rte_eth_rss_conf(3)
β¨ NAME β¨
rte_eth_rss_conf β bestie, this is a struct, it lives in the rte_eth_rss_conf(3) page of the library functions manual, and it's the lil' bundle of settings that tells an Ethernet port how to do its RSS thing π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π Data Fields π
uint8_t * rss_keyuint8_t rss_key_lenuint64_t rss_hfenum rte_eth_hash_function algorithm
π Detailed Description π
Okay so picture this: this struct is the glow-up kit for configuring the Receive Side Scaling (aka RSS) feature on an Ethernet port. That's the whole job. That's the assignment. π«Ά
Defined at line 522 of the file rte_ethdev.h.
π Field Documentation π
π¦ uint8_t* rss_key
When you're in rte_eth_dev_rss_hash_conf_get(), the rss_key_len needs to be greater than or equal to the hash_key_size that you got from the rte_eth_dev_info_get() API. And the rss_key should hold at least hash_key_size bytes. Not me being dramatic but β if you don't meet these requirements, the query result is unreliable, even if the operation returns success. Like it'll look fine and lie to your face π
Now for rte_eth_dev_rss_hash_update() or rte_eth_dev_configure(): if rss_key is not NULL, then rss_key_len tells you the length of the rss_key in bytes, and it should be equal to hash_key_size. And if rss_key is NULL? Drivers are free to use a random key or a default key. Their choice, their era. β¨
Defined at line 535 of the file rte_ethdev.h.
π uint8_t rss_key_len
Hash key length, in bytes. That's it, that's the vibe. π
Defined at line 536 of the file rte_ethdev.h.
π uint64_t rss_hf
This one tells you the type of packets β or the specific part of packets β that RSS hashing is gonna be applied to. Gatekeeping which traffic gets hashed, basically. π₯
Defined at line 541 of the file rte_ethdev.h.
π enum rte_eth_hash_function algorithm
The hash algorithm. The secret sauce. The whole point. β
Defined at line 542 of the file rte_ethdev.h.
π§ Author π§
Generated automatically by Doxygen for DPDK from the source code. (Not a human, just a robot doing its little automatic thing and honestly? slay π€π)
and that's the page, bestie β no cap, that's genuinely everything it says πΈ
That's the rte_eth_rss_conf(3) page from DPDK Version 25.11.3, mwah, hope this helped, go configure that RSS periodt π
β¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms