]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Oct 2015 11:51:51 +0000 (04:51 -0700)
commitfb7ad90e90af7ed1630c3a3e28b69de85635bc45
tree7928c5ab85b16db13000b1b2803cfd9b83c4e099
parentb3b22adc3513a43e48939cd1a3e4d7afa4606022
i40e: Disable VEB bridge mode with SR-IOV failure

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>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c