]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fm10k: force LPORT delete when updating VLAN or MAC address
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 Jun 2015 23:31:07 +0000 (16:31 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:03 +0000 (22:03 -0800)
commit1c7b0700adf7497552624c680184782498374a2b
tree7574dda973bb0627720c2fc56ed3252e65d9ad63
parentb9feb1487cb779958554d066a69b77a2707751e0
fm10k: force LPORT delete when updating VLAN or MAC address

Currently, we don't notify the switch at all when the PF
administratively sets a new VLAN or MAC address. This causes the old
addresses to remain valid on the switch table. Since the PF is
overriding any configuration done directly by the VF, we choose to
simply re-create the LPORT for the VF. This does mean that all rules for
the VF will be dropped when we set something directly via the PF, but it
prevents some weird issues where the MAC/VLAN table retains some stale
configuration.

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 a38488f54004330071f4ec90c3cf52dc7646468e)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_iov.c