]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Add double-check MTA_REGISTER for i210 and i211
authorGrzegorz Siwik <grzegorz.siwik@intel.com>
Tue, 23 Feb 2021 14:15:27 +0000 (15:15 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 16 Apr 2021 20:15:39 +0000 (13:15 -0700)
commitb4a0c2565016903bd8cf075ad52ddcb372097ec9
tree3a3d7832f2ac90259ddc1ec5cf68536336a1b696
parent24dae049f5d8bd4783c3133fe9b79f6d0a0ceec8
igb: Add double-check MTA_REGISTER for i210 and i211

Add new function which checks MTA_REGISTER if its filled correctly.
If not then writes again to same register.
There is possibility that i210 and i211 could not accept
MTA_REGISTER settings, specially when you add and remove
many of multicast addresses in short time.
Without this patch there is possibility that multicast settings will be
not always set correctly in hardware.

Signed-off-by: Grzegorz Siwik <grzegorz.siwik@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/e1000_mac.c