---
name: "rte_eth_rss_conf"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_eth_rss_conf"
---

# rte\_eth\_rss\_conf(3)

## NAME

rte\_eth\_rss\_conf

## 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

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

Definition at line **494** of file **rte\_ethdev.h**.

## Field Documentation

### 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.

Definition at line **507** of file **rte\_ethdev.h**.

### uint8\_t rss\_key\_len

hash key length in bytes.

Definition at line **508** 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.

Definition at line **513** of file **rte\_ethdev.h**.

### enum rte\_eth\_hash\_function algorithm

Hash algorithm.

Definition at line **514** of file **rte\_ethdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
