DPDK 25.03.0-rc0
Data Fields
rte_eth_rss_conf Struct Reference

#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

A structure used to configure the Receive Side Scaling (RSS) feature of an Ethernet port.

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 494 of file rte_ethdev.h.

Field Documentation

◆ rss_key

uint8_t* rss_key

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.

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.

Examples
examples/ipsec-secgw/ipsec.c, and examples/l2fwd-event/l2fwd_common.c.

Definition at line 507 of file rte_ethdev.h.

◆ rss_key_len

uint8_t rss_key_len

hash key length in bytes.

Examples
examples/ipsec-secgw/ipsec.c.

Definition at line 508 of file rte_ethdev.h.

◆ rss_hf

uint64_t rss_hf

◆ algorithm

enum rte_eth_hash_function algorithm

Hash algorithm.

Definition at line 514 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: