app/testpmd: fix flow director endianness
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 19 Oct 2016 01:23:00 +0000 (09:23 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:38:18 +0000 (19:38 +0200)
commit0a0060e3969bf2be983da8e4e4f74e66725da0ec
tree11a25f5287af4e85ad7a4c097a6da53a0273141c
parent21f3fc4664463500ed96882738574a43d1b68f98
app/testpmd: fix flow director endianness

The vlan mask and tunnel id mask of flow director are defined as big
endian. So they should be converted.
When the mask is printed, the parameters are not converted either.
This patch converts the mask parameters.

Fixes: 7c554b4f0484 ("app/testpmd: update display of flow director information")
Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c