numam-dpdk/examples/ipsec-secgw
Adrien Mazarguil ac8d22de23 ethdev: flatten RSS configuration in flow API
Since its inception, the rte_flow RSS action has been relying in part on
external struct rte_eth_rss_conf for compatibility with the legacy RSS API.
This structure lacks parameters such as the hash algorithm to use, and more
recently, a method to tell which layer RSS should be performed on [1].

Given struct rte_eth_rss_conf will never be flexible enough to represent a
complete RSS configuration (e.g. RETA table), this patch supersedes it by
extending the rte_flow RSS action directly.

A subsequent patch will add a field to use a non-default RSS hash
algorithm. To that end, a field named "types" replaces the field formerly
known as "rss_hf" and standing for "RSS hash functions" as it was
confusing. Actual RSS hash function types are defined by enum
rte_eth_hash_function.

This patch updates all PMDs and example applications accordingly.

It breaks ABI compatibility for the following public functions:

- rte_flow_copy()
- rte_flow_create()
- rte_flow_query()
- rte_flow_validate()

[1] commit 676b605182 ("doc: announce ethdev API change for RSS
    configuration")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-04-27 18:00:53 +01:00
..
ep0.cfg examples/ipsec-secgw: add sample configuration files 2016-10-04 20:41:09 +02:00
ep1.cfg examples/ipsec-secgw: add sample configuration files 2016-10-04 20:41:09 +02:00
esp.c examples/ipsec-secgw: support inline protocol 2018-01-20 16:10:20 +01:00
esp.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ipip.h examples/ipsec-secgw: update incremental checksum 2018-01-20 16:10:52 +01:00
ipsec-secgw.c examples/ipsec-secgw: handle ESN soft limit event 2018-04-23 18:20:10 +01:00
ipsec.c ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
ipsec.h examples/ipsec-secgw: handle ESN soft limit event 2018-04-23 18:20:10 +01:00
Makefile examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
parser.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
parser.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rt.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
sa.c examples/ipsec-secgw: fix printed crypto name 2018-02-13 23:21:33 +01:00
sp4.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
sp6.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00