DPDK  18.11.11
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.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 442 of file rte_ethdev.h.

Field Documentation

uint8_t* rss_key

If not NULL, 40-byte hash key.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 443 of file rte_ethdev.h.

uint8_t rss_key_len

hash key length in bytes.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 444 of file rte_ethdev.h.

uint64_t rss_hf

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