net/ixgbe: add TCI mask check for flow director
authorWei Zhao <wei.zhao1@intel.com>
Fri, 3 Feb 2017 08:43:57 +0000 (16:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commit37ed39b4e67d572cfdb0b889273c9ce84d2ab9c8
treeef53cfb995e728d1224eaf8b6d6c9abd92d24e96
parented6e564c214e9852ff7f3d8f676a892dda905651
net/ixgbe: add TCI mask check for flow director

Add more check on the tci mask of VLAN and VXLAN parser
in fdir filter rule pattern parser. If such check not added,
it maybe cause error in fdir configuration set check.

Fixes: 11777435c727 ("net/ixgbe: parse flow director filter")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/ixgbe/ixgbe_flow.c