numam-dpdk/drivers/net/mlx4
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
..
Makefile net/mlx: fix warnings for unused compiler arguments 2018-04-14 00:40:21 +02:00
mlx4_ethdev.c drivers/net: update link status 2018-04-27 15:54:56 +01:00
mlx4_flow.c ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_flow.h ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_mr.c net/mlx4: fix alignment of memory region 2018-04-27 15:54:56 +01:00
mlx4_prm.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_rxq.c ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_rxtx.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_rxtx.h ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_txq.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4.c ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4.h ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00