ixgbe: Do not clear RAR entry when clearing VMDq for SAN MAC
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 20 Aug 2016 03:58:26 +0000 (20:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2016 05:25:24 +0000 (22:25 -0700)
commitc10ac75aeed2d8486a73a316ac3a08f85d140894
treeda9268f2aa74a755acfac3e8aa6d88cb48b1c9b9
parent8912862f067276b480c4fed9da74c9c5601130a6
ixgbe: Do not clear RAR entry when clearing VMDq for SAN MAC

The RAR entry for the SAN MAC address was being cleared when we were
clearing the VMDq pool bits.  In order to prevent this we need to add
an extra check to protect the SAN MAC from being cleared.

Fixes: 6e982aeae ("ixgbe: Clear stale pool mappings")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c