i40e: Fix VEB/VEPA bridge mode mismatch issue
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 1 Oct 2015 18:37:36 +0000 (14:37 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Oct 2015 11:26:18 +0000 (04:26 -0700)
commit09603eaa5ca91dd9a318d8722ff5de8feb1e36ab
treed15e623aaf91357bf0ba8e569061b9c27441323d
parent10dc0358e802ea60f95432f89c8dd051767fc06f
i40e: Fix VEB/VEPA bridge mode mismatch issue

Fix i40e_is_vsi_uplink_mode_veb to check if bridge is actually
in VEB mode before allowing LB in the add VSI routine, instead of
unconditionally returning VEB bridge mode.

Change-ID: I162397b1bdd02367735fe9baaeb51465be2a3ce9
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c