net/ice/base: track HW stat registers past rollover
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:18:11 +0000 (23:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commitdc2c385c9bc2e3d85b2a89d399654fff47884d07
treeca028be294aeef0d1d65856d074d7b9993a823ab
parent0c80804082ceb18ff4bf15d0fd72df86dfd7c5ed
net/ice/base: track HW stat registers past rollover

Modify ice_stat_update40 to use rd64 instead of two calls to rd32.
Additionally, drop the now unnecessary hireg function parameter.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h