app/testpmd: add new types to RSS hash commands
authorJeff Guo <jia.guo@intel.com>
Wed, 22 Apr 2020 01:02:55 +0000 (21:02 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 16:03:26 +0000 (18:03 +0200)
commita8a544890fe00054f05ac05ccb78e6fdc1ed4ba9
tree50623893edd7a937afbb8eee67471ad809a1c9d7
parent7be10c3004be39b4c431e98d3158c3817c1ec992
app/testpmd: add new types to RSS hash commands

Add some new types, such as eth/l2-src-only/l2-dst-only/svlan/cvlan/
l2tpv3/esp/ah/pfcp types into RSS hash commands, it could be used
to configure these rss input set by cmdline.

Example flow commands was:
testpmd>flow create 0 ingress pattern eth / ipv4 / l2tpv3oip / end \
actions rss types l2tpv3 end key_len 0 queues end / end

port config commands was:
testpmd>port config all rss l2tpv3

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Ori Kam <orika@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst