app/testpmd: fix copy of raw flow item - revisited
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Mon, 21 May 2018 11:44:26 +0000 (13:44 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 22 May 2018 22:35:01 +0000 (00:35 +0200)
commit5ff6aa2438ecd55920b7270b7badf8b38c2ad682
treed154ece13d6e5aba2da1f0e6ec7ea26387c3b2bb
parentf5b3c7b29357f4690188bfa294a2a23d56b6e5e9
app/testpmd: fix copy of raw flow item - revisited

While previous fix with the same title does address the main issue, root
cause is that proper handling of spec/last/mask was overlooked in the
original patch.

Mask and last fields must be taken into account at all times.

Fixes: d0ad8648b1c5 ("app/testpmd: fix RSS flow action configuration")
Fixes: 67af7ecc52ec ("app/testpmd: fix copy of raw flow item")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
app/test-pmd/config.c