| rte_flow_action_rss(3) | Library Functions Manual | rte_flow_action_rss(3) |
rte_flow_action_rss
#include <rte_flow.h>
enum rte_eth_hash_function func
uint32_t level
uint64_t types
uint32_t key_len
uint32_t queue_num
const uint8_t * key
const uint16_t * queue
RTE_FLOW_ACTION_TYPE_RSS
Similar to QUEUE, except RSS is additionally performed on packets to spread them among several queues according to the provided parameters.
Unlike global RSS settings used by other DPDK APIs, unsetting the types field does not disable RSS in a flow rule. Doing so instead requests safe unspecified 'best-effort' settings from the underlying PMD, which depending on the flow rule, may result in anything ranging from empty (single queue) to all-inclusive RSS.
Note: RSS hash result is stored in the hash.rss mbuf field which overlaps hash.fdir.lo. Since the MARK action sets the hash.fdir.hi field only, both can be requested simultaneously.
Definition at line 3484 of file rte_flow.h.
RSS hash function to apply.
Definition at line 3485 of file rte_flow.h.
Packet encapsulation level RSS hash types apply to.
It basically stands for the innermost encapsulation level RSS can be performed on according to PMD and device capabilities.
Values other than 0 are not necessarily supported.
Requesting a specific RSS level on unrecognized traffic results in undefined behavior. For predictable results, it is recommended to make the flow rule pattern match packet headers up to the requested encapsulation level so that only matching traffic goes through.
Definition at line 3511 of file rte_flow.h.
Specific RSS hash types (see RTE_ETH_RSS_*).
Definition at line 3512 of file rte_flow.h.
Hash key length in bytes.
Definition at line 3513 of file rte_flow.h.
Number of entries in queue.
Definition at line 3514 of file rte_flow.h.
Hash key.
Definition at line 3515 of file rte_flow.h.
Queue indices to use.
Definition at line 3516 of file rte_flow.h.
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |