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)
commit1d3cb90cb0101bb44254d295a421a89f3b73f6e8
tree3a3d7832f2ac90259ddc1ec5cf68536336a1b696
parent26b67f5a1e067605d5db3062090618ca542115b8
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