Explorar o código

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>
Carolyn Wyborny %!s(int64=13) %!d(string=hai) anos
pai
achega
adc0fa4139
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      drivers/net/ethernet/intel/igb/e1000_82575.c

+ 0 - 2
drivers/net/ethernet/intel/igb/e1000_82575.c

@@ -206,8 +206,6 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw)
 		mac->rar_entry_count = E1000_RAR_ENTRIES_82580;
 		break;
 	case e1000_i350:
-	case e1000_i210:
-	case e1000_i211:
 		mac->rar_entry_count = E1000_RAR_ENTRIES_I350;
 		break;
 	default: