numam-dpdk/app
Matan Azrad 79bf388493 app/testpmd: fix flow rule copy functions
The corrupted code checks only RAW flow item type special case for
returning its size but doesn't deal with any other flow item type
and returns 0 for all the others.

This bug leaves the flow descriptor empty for non RAW types.

The fix takes the correct size to any regular types from appropriate
array.

The same issue, with a similar fix, is in flow action size method which
deals only with RSS special type.

Fixes: 938a184a18 ("app/testpmd: implement basic support for flow API")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-07-31 14:08:25 +02:00
..
pdump ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
proc_info app/procinfo: remove duplicate include 2017-07-16 17:30:24 +02:00
test-crypto-perf app/crypto-perf: fix CSV output 2017-07-28 18:47:49 +02:00
test-eventdev update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test-pmd app/testpmd: fix flow rule copy functions 2017-07-31 14:08:25 +02:00
Makefile app/testeventdev: introduce dpdk-test-eventdev app 2017-07-07 09:30:46 +02:00