net/i40e: ensure vector mode is not used with QinQ
authorBernard Iremonger <bernard.iremonger@intel.com>
Thu, 13 Apr 2017 09:53:05 +0000 (10:53 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commitb6e2e78f5dbece33b64e742331ae949b7ead5373
tree1f14625b2ae2ba34e31da196cec090fbaccad1ae
parent5a1affd8838e7307ce777bb4b386b3be84b6052b
net/i40e: ensure vector mode is not used with QinQ

In rx vector mode, QinQ is not supported.
When hw_vlan_extend is set for QinQ ensure that
rx vector mode is not selected.

Fixes: 8e109464c022 ("i40e: allow vector Rx and Tx usage")
Cc: stable@dpdk.org
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/i40e/i40e_rxtx_vec_common.h