ixgbe: refactor stats register reads
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 15 Jul 2015 13:11:26 +0000 (14:11 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 23:53:49 +0000 (01:53 +0200)
commitafebc86be1346136125af8026dc215f81c202c50
tree7036562c229266e948f222451084267cbd62b04d
parent320d0b6ea00b1b1e42bb67aa98685205bf5576c0
ixgbe: refactor stats register reads

Move stats register reads to ixgbe_read_stats_registers() as it will be
used by the functions to retrieve stats and extended stats.

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
drivers/net/ixgbe/ixgbe_ethdev.c