]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add new update VSI flow to accommodate FW fix with VSI Loopback mode
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Thu, 13 Nov 2014 03:06:14 +0000 (03:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 6 Dec 2014 12:26:33 +0000 (04:26 -0800)
commitbfd17bc6b15991dce443bc4d7ce28708b6f2c94a
tree02c36a598ac07b46a9b5561180b8dd717896aec5
parentdbbc83fe2b0e4d00801a2e64d05bd5b9e26930d3
i40e: Add new update VSI flow to accommodate FW fix with VSI Loopback mode

All VSIs on a VEB should either have loopback enabled or disabled, a
mixed mode is not supported for a VEB. Since our driver supports multiple
VSIs per PF that need to talk to each other make sure to enable Loopback
for the PF and FDIR VSI as well.

Also, we now have to explicitly enable Loopback mode otherwise we fail
VSI creation for VMDq and VF VSIs.

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