]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Reset the VF upon conflicting VLAN configuration
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 6 Mar 2014 09:02:28 +0000 (09:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Apr 2014 03:43:33 +0000 (20:43 -0700)
commit8830d837c7aae1eafafe5776813e2c0069223326
tree2ef202703ed28f6a300a597784bd32a8ef61b822
parent6bf968dbc519f464b9fd6284811377032a866e21
i40e: Reset the VF upon conflicting VLAN configuration

If a host VMM administrator hoses his VF by assigning a port VLAN after
it is already up and running with implicit permission to set local
VLANs then we print a message warning the host administrator that the
VF driver needs to be reloaded.

In addition we need to knock the VF offline so that it does not continue
to receive traffic not on the port VLAN assigned to it.  So we reset the
VF.  The VF will cease operation and the administrator will be forced to
unload and reload the VF driver to make it work again.

Change-ID: Iae1ae006b244e74e30a4ee546b3c5fca5cfb40aa
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c