ixgbe: remove magic constant in ixgbe_reset_hw_82599()
authorJiri Kosina <jkosina@suse.cz>
Wed, 2 Jan 2019 19:20:33 +0000 (20:20 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Feb 2019 00:08:54 +0000 (16:08 -0800)
commit2242281d6998af1b3cbf216904f4a6c78530ad3b
tree35f9fcbe7872c80a4fab588a40d1ad8def29866a
parenta8890c38abb2f1706672cafb4094d3726430b335
ixgbe: remove magic constant in ixgbe_reset_hw_82599()

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 <jkosina@suse.cz>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c