]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:11 +0000 (22:03 -0800)
commit6ca1c25653ce3cf6a1341891aeeb3fd48ddb467f
tree628fe4d745b760325c04be721c02210511cc2dc8
parentfad7ca29afe1e03b7789ec01bd43747b52cce0d4
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>
Orabug: 25394529
(cherry picked from commit b655a5c735867c1a80e7ceaa1f1c45d1dd34909f)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_iov.c