RE: [Intel-wired-lan] [PATCH] ixgbe: remove magic constant in ixgbe_reset_hw_82599()

2019-01-11 Thread Bowers, AndrewX
er...@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] ixgbe: remove magic constant in > ixgbe_reset_hw_82599() > > From: Jiri Kosina > > ixgbe_reset_hw_82599() resets the value of hw->mac.num_rar_entries to > pre-defined value of 128. Let's get rid of that hardcoded liter

[PATCH] ixgbe: remove magic constant in ixgbe_reset_hw_82599()

2019-01-02 Thread Jiri Kosina
From: Jiri Kosina ixgbe_reset_hw_82599() resets the value of hw->mac.num_rar_entries to pre-defined value of 128. Let's get rid of that hardcoded literal, and use IXGBE_82599_RAR_ENTRIES instead, the same way the normal initialization path does. Signed-off-by: Jiri Kosina ---