]> 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)
commite9226d7151fdd68e08f10e586c1655869e9c84a0
tree78cfd6b1a82ff5859cb03c8856eda723562150dd
parentffa4ddc933bd586de5b1d06456bfe62d2407f184
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