net/i40e: fix QinQ flow pattern to allow non full mask
authorPadraig Connolly <padraig.j.connolly@intel.com>
Thu, 15 Oct 2020 09:28:58 +0000 (10:28 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commitff0df4e134cc6efe75e1ed103b2c7b316b8269e2
treea70a7c2ee0ade910d7e9cade00ea88ef2578ab58
parenta4e480de268eaabbb2251b2f1782ae0f05f005a9
net/i40e: fix QinQ flow pattern to allow non full mask

Issue reported by customer that only full mask was allowed on inner and
outer VLAN tag, thus not allowing mask to set VLAN ID filter only.
Removed check that enforces inner vlan and outer vlan equal
I40E_TCI_MASK (full mask 0xffff).

Fixes: d37705068ee8 ("net/i40e: parse QinQ pattern")
Cc: stable@dpdk.org
Signed-off-by: Padraig Connolly <padraig.j.connolly@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
drivers/net/i40e/i40e_flow.c