Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

igb: Fix incorrect RAR address entries for i210/i211 device.

i210/i211 device has only 16 RAR address filters like 82575, instead of
32 like i350. This patch removes the entries for i210/i211 in the
get_invariants function which was setting them for 32. This ensures that
they will get the default value which is the correct one.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Carolyn Wyborny and committed by
Jeff Kirsher
adc0fa41 2c995ff8

-2
-2
drivers/net/ethernet/intel/igb/e1000_82575.c
··· 206 206 mac->rar_entry_count = E1000_RAR_ENTRIES_82580; 207 207 break; 208 208 case e1000_i350: 209 - case e1000_i210: 210 - case e1000_i211: 211 209 mac->rar_entry_count = E1000_RAR_ENTRIES_I350; 212 210 break; 213 211 default: