From: Wei Zhao Date: Tue, 5 Jun 2018 09:12:11 +0000 (+0800) Subject: app/testpmd: fix VLAN TCI mask set error for FDIR X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=26f579aa274b46f42d77228dd6628c951cba05a1;p=dpdk.git 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 Acked-by: Wenzhuo Lu --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 24c1998445..63c2a5aca4 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -346,7 +346,7 @@ struct rte_fdir_conf fdir_conf = { .pballoc = RTE_FDIR_PBALLOC_64K, .status = RTE_FDIR_REPORT_STATUS, .mask = { - .vlan_tci_mask = 0x0, + .vlan_tci_mask = 0xFFEF, .ipv4_mask = { .src_ip = 0xFFFFFFFF, .dst_ip = 0xFFFFFFFF,