fm10k: Corrected an error in Tx statistics
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 20:26:51 +0000 (13:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 14 Apr 2015 21:42:27 +0000 (14:42 -0700)
commitf4e25f6e368492198d49ac6b2e05a25866fe3e8e
treef9ab3c4c466379399a3bc95510cafbfd2f9fc7e6
parent87ffabb1f055e14e7d171c6599539a154d647904
fm10k: Corrected an error in Tx statistics

The function collecting Tx statistics was actually using values from the RX
ring. Thus, Tx and Rx statistics values reported by "ifconfig" will
return identical values. This change corrects this error and the Tx
statistics is now reading from the Tx ring.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c