]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75ea680063c3572250b86292b3cf97a47ae061ab
treef9ab3c4c466379399a3bc95510cafbfd2f9fc7e6
parent0eee63d4650e86c844a75b3c0ea9dd7efd1ae748
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