app/testpmd: support RSS config in flow query
authorChenxu Di <chenxux.di@intel.com>
Wed, 8 Jul 2020 01:18:41 +0000 (01:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitbdb1d61690f77aef052fabcb8db6180e49ee5657
treee42f00e8a2b5ab7c4e011b39f99f2218908267d9
parent812e5f1d8985711df519c5c3d093009cd7d10265
app/testpmd: support RSS config in flow query

This patch support RSS action in flow query.
It can display the RSS configuration of the specified rule.

For example:
we can create an RSS rule by command "flow create 0 ingress
pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp
l3-src-only l4-dst-only end queues end func symmetric_toeplitz
 / end" and then query it "flow query 0 0 rss"
the log will be follow
RSS:
 queues: none
 function: symmetric_toeplitz
 types:
  ipv4-tcp
  l3-src-only
  l4-dst-only

Signed-off-by: Chenxu Di <chenxux.di@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
app/test-pmd/config.c