]> 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)
commit90f822e3262ab241c7e331064b50d3a43a656d32
tree02c36a598ac07b46a9b5561180b8dd717896aec5
parent87d3215a0a77d1b6a0ff8edda7da2c4d58bd4aca
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