Skip to content
Commit 2242281d authored by Jiri Kosina's avatar Jiri Kosina Committed by Jeff Kirsher
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent a8890c38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment