ixgbe: Be more careful when modifying MAC filters
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 18 Jun 2018 16:02:00 +0000 (12:02 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 12 Jul 2018 14:17:13 +0000 (07:17 -0700)
commitd14c780c11fbc10f66c43e7b64eefe87ca442bd3
tree78cfd6b1a82ff5859cb03c8856eda723562150dd
parent20c4515a1af770f4fb0dc6b044ffc9a6031e5767
ixgbe: Be more careful when modifying MAC filters

This change makes it so that we are much more explicit about the ordering
of updates to the receive address register (RAR) table. Prior to this patch
I believe we may have been updating the table while entries were still
active, or possibly allowing for reordering of things since we weren't
explicitly flushing writes to either the lower or upper portion of the
register prior to accessing the other half.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c