i40e: Make sure to be in VEB mode if SRIOV is enabled at probe
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 27 May 2015 16:06:14 +0000 (12:06 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 5 Jun 2015 03:14:23 +0000 (20:14 -0700)
commitfa11cb3d16a9b9b296a2b811a49faf1356240348
tree6b7aa1f0eae8779290e441a729ce516d66334af9
parentfc60861e9b00388fd11d7995a60bf0b1e61dba93
i40e: Make sure to be in VEB mode if SRIOV is enabled at probe

If SRIOV is enabled we need to be in VEB mode not VEPA mode at probe.
This fixes an NPAR bug when SRIOV is enabled in the BIOS.

Change-ID: Ibf006abafd9a0ca3698ec24848cd771cf345cbbc
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c