]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: don't store sw_vid at reset
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 19 Jun 2015 17:56:10 +0000 (10:56 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:05:51 +0000 (17:05 -0700)
commit2ea90c07fde588a5425b3f080fd9b14f3ad4c046
tree19ccfa66b14bc817b709e11b1fab3fd32bfa43b1
parent04f3548a72fc9acb5986b2173f541e20c8aa4499
fm10k: don't store sw_vid at reset

If we store the sw_vid at reset of PF, then we accidentally prevent the
VF from receiving the message to update its default VID. This only
occurs if the VF is created before the PF has come up, which is the
standard way of creating VFs when using the module parameter.

This fixes an issue where we request the incorrect MAC/VLAN
combinations, and prevents us from accidentally reporting some frames as
VLAN tagged.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_iov.c