numam-dpdk/app/test-pmd
Adrien Mazarguil d0ad8648b1 app/testpmd: fix RSS flow action configuration
Except for a list of queues, RSS configuration (hash key and fields) cannot
be specified from the flow command line and testpmd does not provide safe
defaults either.

In order to validate their implementation with testpmd, PMDs had to
interpret its NULL RSS configuration parameters somehow, however this has
never been valid to begin with.

This patch makes testpmd always provide default values.

The list of RSS types to use is exclusively taken from the global "rss_hf"
variable, itself configured through the "port config all rss" command or
--rss-ip/--rss-udp command-line options.

Fixes: 05d34c6e9d ("app/testpmd: add queue actions to flow command")
Cc: stable@dpdk.org

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-04-27 15:54:56 +01:00
..
cmdline_flow.c app/testpmd: fix RSS flow action configuration 2018-04-27 15:54:56 +01:00
cmdline_mtr.c app/testpmd: fix allocation check in MTR parsing 2018-01-31 23:34:47 +01:00
cmdline_mtr.h app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +01:00
cmdline_tm.c app/testpmd: allow none shaper profile 2018-04-23 21:42:31 +02:00
cmdline_tm.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cmdline.c app/testpmd: fix RSS flow action configuration 2018-04-27 15:54:56 +01:00
config.c app/testpmd: fix RSS flow action configuration 2018-04-27 15:54:56 +01:00
csumonly.c app/testpmd: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:20 +01:00
flowgen.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
icmpecho.c app/testpmd: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:20 +01:00
ieee1588fwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
iofwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
macfwd.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
macswap.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
Makefile app/testpmd: fix DPAA shared library dependency 2018-03-14 00:25:37 +01:00
meson.build build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
parameters.c app/testpmd: support IPsec event 2018-04-23 18:20:10 +01:00
rxonly.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
testpmd.c app/testpmd: support IPsec event 2018-04-23 18:20:10 +01:00
testpmd.h ethdev: replace bus specific struct with generic dev 2018-04-14 00:41:44 +02:00
tm.c app/testpmd: fix allocation check in TM config 2018-01-31 23:34:47 +01:00
txonly.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00