]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Disable VEB bridge mode with SR-IOV failure
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 1 Oct 2015 18:37:40 +0000 (14:37 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:33:11 +0000 (08:33 -0800)
commit526b3df19c846194ea7270104a156fa025b8e64e
tree0cc70f7f7f648fb748dccf7abc919c745d94ac9b
parent18aeccf6f431c8a0f35faeb11ab396771ed7d8b4
i40e: Disable VEB bridge mode with SR-IOV failure

Orabug: 22342532

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.

Change-ID: I12b6f776769506db85b29bea94b9c88d0b5ee65e
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>
(cherry picked from commit de445b3dc29835ae840f202bc62fd3ae42da12ad)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c