app/testpmd: fix VLAN TCI mask set error for FDIR
authorWei Zhao <wei.zhao1@intel.com>
Tue, 5 Jun 2018 09:12:11 +0000 (17:12 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commit26f579aa274b46f42d77228dd6628c951cba05a1
tree1934d42b1ae789beae62c4c098b4a8790a2a64bd
parenta075ce2b3e8ccf8e60c0dd2aec4b88a04a744de2
app/testpmd: fix VLAN TCI mask set error for FDIR

The vlan tci mask should be set to 0xEFFF, not 0x0,
the wrong mask will cause mask error for register set.

Fixes: d9d5e6f2f0ba ("app/testpmd: set default flow director mask")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/testpmd.c