diff options
| author | Ajit Khaparde <[email protected]> | 2024-02-09 10:16:16 -0800 |
|---|---|---|
| committer | Ferruh Yigit <[email protected]> | 2024-02-09 22:18:45 +0100 |
| commit | 423921902c554c16a7e8259a100a0f9288fee509 (patch) | |
| tree | 715297f785b27293ef94adb9634b76e35ed47984 /lib/ethdev | |
| parent | 05ec4ee54ebf0b64b08a58417b08d89694e48f83 (diff) | |
ethdev: support RSS based on IPv6 flow label
On supporting hardware, the 20-bit Flow Label field in the
IPv6 header can be used to perform RSS in the ingress path.
Flow label values can be chosen such that they can be
used as part of the input to a hash function used in a load
distribution scheme.
Example to configure IPv6 flow label based RSS:
flow create 0 ingress pattern eth / ipv6 / tcp / end
actions rss types ipv6-flow-label end / end
Signed-off-by: Ajit Khaparde <[email protected]>
Acked-by: Ferruh Yigit <[email protected]>
Diffstat (limited to 'lib/ethdev')
| -rw-r--r-- | lib/ethdev/rte_ethdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 3df1b4c634..ed27360447 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -587,6 +587,7 @@ struct rte_eth_rss_conf { #define RTE_ETH_RSS_L4_CHKSUM RTE_BIT64(35) #define RTE_ETH_RSS_L2TPV2 RTE_BIT64(36) +#define RTE_ETH_RSS_IPV6_FLOW_LABEL RTE_BIT64(37) /* * We use the following macros to combine with above RTE_ETH_RSS_* for |
