rte_eth_rss_conf(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

rte_eth_rss_conf β€” okay bestie, this is from the Library Functions Manual, and it's the struct you use to configure the Receive Side Scaling (RSS) feature of an Ethernet port ✨


🌸 SYNOPSIS 🌸

#include <rte_ethdev.h>

πŸ’… Data Fields

  • uint8_t * rss_key
  • uint8_t rss_key_len
  • uint64_t rss_hf
  • enum rte_eth_hash_function algorithm

πŸ¦‹ Detailed Description πŸ¦‹

It's giving structure β€” literally, it's a structure πŸ’– A structure used to configure the Receive Side Scaling (RSS) feature of an Ethernet port.

Definition at line 522 of file rte_ethdev.h.

✨ Field Documentation ✨

uint8_t* rss_key πŸ‘‘

Okay so listen closely, this one has ✨rules✨.

In rte_eth_dev_rss_hash_conf_get(), the rss_key_len should be greater than or equal to the hash_key_size which get from rte_eth_dev_info_get() API. And the rss_key should contain at least hash_key_size bytes. If not meet these requirements, the query result is unreliable even if the operation returns success. 😭 Like, it'll say it worked but it's lying to you, no cap.

In rte_eth_dev_rss_hash_update() or rte_eth_dev_configure(), if rss_key is not NULL, the rss_key_len indicates the length of the rss_key in bytes and it should be equal to hash_key_size. If rss_key is NULL, drivers are free to use a random or a default key. 🎲

Definition at line 535 of file rte_ethdev.h.

uint8_t rss_key_len πŸ“

hash key length in bytes. short and sweet, we love her.

Definition at line 536 of file rte_ethdev.h.

uint64_t rss_hf πŸ”₯

Indicates the type of packets or the specific part of packets to which RSS hashing is to be applied. iykyk 🌈

Definition at line 541 of file rte_ethdev.h.

enum rte_eth_hash_function algorithm πŸ’œ

Hash algorithm. that's it. that's the whole vibe.

Definition at line 542 of file rte_ethdev.h.

🌟 Author 🌟

Generated automatically by Doxygen for DPDK from the source code. not a human, just a little robot doing its thing πŸ€–πŸ’…


okay that's the whole page!! mwah 🫢 this was DPDK, Version 26.03.0, and yes rte_eth_rss_conf(3) is the star of the show β€” go configure some RSS, bestie, you got this βœ¨πŸ‘‘

πŸ“¦ where this page comes from