i40e: disable buggy VEB switching
authorJingjing Wu <jingjing.wu@intel.com>
Fri, 20 Mar 2015 07:31:48 +0000 (15:31 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Mar 2015 21:29:15 +0000 (22:29 +0100)
commit8a4a11ce4c2b41b033aa6afb164be7008ee5e508
tree780254d110a6ef6efa0f24dd2883612173f14fb7
parent891121d8912336b30df9a6561d0c2b6b444d2873
i40e: disable buggy VEB switching

Disable VEB switching by removing ALLOW_LB on SRIOV vsi.

If the source mac address of packet sent from VF is not listed in the
VEB's mac table, the VEB will switch the packet back to the VF.
It's a hardware issue. Enabling ALLOW_LB flag will block VF functions.

Test report: http://www.dpdk.org/ml/archives/dev/2015-March/015687.html

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c