ethdev: add hash function to RSS flow API action
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 25 Apr 2018 15:27:52 +0000 (17:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:54 +0000 (18:00 +0100)
commit929e3319342b7ae2ec0c0fc5c5a4e954037d7d29
tree72e9da8931b6b8bdebc87af016b8f4cc235cb00c
parentac8d22de2394e03ba4a77d8fd24381147aafb1d3
ethdev: add hash function to RSS flow API action

By definition, RSS involves some kind of hash algorithm, usually Toeplitz.

Until now it could not be modified on a flow rule basis and PMDs had to
always assume RTE_ETH_HASH_FUNCTION_DEFAULT, which remains the default
behavior when unspecified (0).

This breaks ABI compatibility for the following public functions:

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

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
17 files changed:
app/test-pmd/cmdline_flow.c
app/test-pmd/config.c
doc/guides/prog_guide/rte_flow.rst
doc/guides/rel_notes/release_18_05.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst
drivers/net/e1000/igb_flow.c
drivers/net/e1000/igb_rxtx.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_flow.c
drivers/net/ixgbe/ixgbe_flow.c
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx5/mlx5_flow.c
drivers/net/sfc/sfc_flow.c
drivers/net/tap/tap_flow.c
lib/librte_ether/rte_flow.c
lib/librte_ether/rte_flow.h