flow: add esp spi rss type 00/33500/2
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Fri, 2 Jul 2021 09:20:03 +0000 (09:20 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 31 Aug 2021 15:24:33 +0000 (15:24 +0000)
commitda6520b4ed7ddd35a7c52403a2df1c9fac3c24ca
treea12d6c7f589a453711ecb272168db93d1a0fa81c
parent8990f095a58748f82a1ef6388d3b4ea833365af9
flow: add esp spi rss type

Type: feature

This patch adds IPsec ESP SPI as RSS key for better IPsec
inbound processing scaling. With this feature enabled,
The NIC will use the packets' SPI index as the RSS key
to distribute them to different queues.

The dpdk-input is also updated to support this feature.

Sample CLI command to enable Ipsec ESP SPI as RSS key:

test flow add src-ip any dst-ip any rss types esp
test flow enable eth0 index 0

Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: I8b7d01cfc065e9099fad33042ce76898e16ddbf0
src/plugins/dpdk/device/dpdk.h
src/plugins/dpdk/device/flow.c
src/vnet/flow/flow.h