summaryrefslogtreecommitdiff
path: root/drivers/net/phy/microchip.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2017-12-29 08:51:08 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-02-12 11:29:47 -0800
commit92418fb14750c2baeebddf5903e3105cd11da90c (patch)
tree6cb0ce66edff96dd2d6660a8e02bcc919ec92536 /drivers/net/phy/microchip.c
parent4ff17929e6031bf3377233331223f617015e4ef3 (diff)
downloadlinux-92418fb14750c2baeebddf5903e3105cd11da90c.tar.gz
linux-92418fb14750c2baeebddf5903e3105cd11da90c.tar.bz2
linux-92418fb14750c2baeebddf5903e3105cd11da90c.zip
i40e/i40evf: Use usec value instead of reg value for ITR defines
Instead of using the register value for the defines when setting up the ring ITR we can just use the actual values and avoid the use of shifts and macros to translate between the values we have and the values we want. This helps to make the code more readable as we can quickly translate from one value to the other. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/phy/microchip.c')
0 files changed, 0 insertions, 0 deletions