DPDK  17.02.1
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

Detailed Description

A structure used to configure the Receive Side Scaling (RSS) feature of an Ethernet port. If not NULL, the rss_key pointer of the rss_conf structure points to an array holding the RSS key to use for hashing specific header fields of received packets. The length of this array should be indicated by rss_key_len below. Otherwise, a default random hash key is used by the device driver.

The rss_key_len field of the rss_conf structure indicates the length in bytes of the array pointed by rss_key. To be compatible, this length will be checked in i40e only. Others assume 40 bytes to be used as before.

The rss_hf field of the rss_conf structure indicates the different types of IPv4/IPv6 packets to which the RSS hashing must be applied. Supplying an rss_hf equal to zero disables the RSS feature.

Definition at line 394 of file rte_ethdev.h.

Field Documentation

uint8_t* rss_key

If not NULL, 40-byte hash key.

Definition at line 395 of file rte_ethdev.h.

uint8_t rss_key_len

hash key length in bytes.

Definition at line 396 of file rte_ethdev.h.

uint64_t rss_hf

Hash functions to apply - see below.

Examples:
examples/vmdq_dcb/main.c.

Definition at line 397 of file rte_ethdev.h.


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