]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8727a5ef08095dac04673cabd6c558958d3cea6
tree78cfd6b1a82ff5859cb03c8856eda723562150dd
parentd61fd421794997d13f85d3462f8c97d48d560d75
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