rte_flow_action_rss(3)
π NAME π
okay bestie, welcome to rte_flow_action_rss(3) β it lives in the Library Functions Manual, and the actual name is rte_flow_action_rss. Itβs giving flow-rule RSS energy, and weβre gonna get through every single detail together. π«Ά
β¨ SYNOPSIS β¨
#include <rte_flow.h>
π Data Fields π
enum rte_eth_hash_function funcuint32_t leveluint64_t typesuint32_t key_lenuint32_t queue_numconst uint8_t * keyconst uint16_t * queue
πΈ Detailed Description πΈ
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. no cap, that range is wild π
Note: RSS hash result is stored in thehash.rssmbuf field which overlapshash.fdir.lo. Since theMARKaction sets thehash.fdir.hifield only, both can be requested simultaneously. π
Definition at line 3484 of file rte_flow.h.
π¦ Field Documentation π¦
enum rte_eth_hash_function func
RSS hash function to apply. β¨
Definition at line 3485 of file rte_flow.h.
uint32_t level
Packet encapsulation level RSS hash types apply to.
0requests the default behavior. Depending on the packet type, it can mean outermost, innermost, anything in between or even no RSS.
It basically stands for the innermost encapsulation level RSS can be performed on according to PMD and device capabilities.
1requests RSS to be performed on the outermost packet encapsulation level.2and subsequent values request RSS to be performed on the specified inner packet encapsulation level, from outermost to innermost (lower to higher values).
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. β οΈ this is the βdo not freestyle itβ warning, bestie
Definition at line 3511 of file rte_flow.h.
uint64_t types
Specific RSS hash types (see RTE_ETH_RSS_*).
Definition at line 3512 of file rte_flow.h.
uint32_t key_len
Hash key length in bytes.
Definition at line 3513 of file rte_flow.h.
uint32_t queue_num
Number of entries in queue.
Definition at line 3514 of file rte_flow.h.
const uint8_t* key
Hash key.
Definition at line 3515 of file rte_flow.h.
const uint16_t* queue
Queue indices to use.
Definition at line 3516 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code.
π Cute sign-off: this page is from DPDK, Version 26.03.0 β and the footerβs date slot is empty on this one, so Iβm not making up a date, periodt. β¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms