[Intel-wired-lan] [next PATCH S18 7/8] i40e: Disable VEB bridge mode with SR-IOV failure

Bowers, AndrewX andrewx.bowers at intel.com
Tue Oct 6 21:11:45 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Thursday, October 01, 2015 11:38 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Abodunrin, Akeem G
> Subject: [Intel-wired-lan] [next PATCH S18 7/8] i40e: Disable VEB bridge
> mode with SR-IOV failure
> 
> From: Akeem G Abodunrin <akeem.g.abodunrin at intel.com>
> 
> If a call to enable SR-IOV in the kernel failed, we need to disable
> I40E_FLAG_VEB_MODE_ENABLED, so that bridge mode could fall back to
> VEPA, which is a default.
> 
> Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin at intel.com>
> Change-ID: I12b6f776769506db85b29bea94b9c88d0b5ee65e
> 
> ---
> Testing-hints: 5645709
> Configure driver with SR-IOV in a nested virtualization environment
> (PCI-Passthrough) and confirmed that SR-IOV enablement failed. Bridge
> mode should remain VEPA instead of VEB with the notion that SR-IOV has
> been successfully configured.
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, "Switch no longer goes to VEB mode but stays in VEPA mode. 
No kernel crash. "


More information about the Intel-wired-lan mailing list