summaryrefslogtreecommitdiff
path: root/net/core/netprio_cgroup.c
diff options
context:
space:
mode:
authorNarendra K <narendra_k@dell.com>2012-07-16 19:24:41 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 09:44:36 +0400
commit936597631dd310e220544dc5c6075d924efd39b2 (patch)
tree240cd109d3f6ecc017fef3e702dec530d1da6de5 /net/core/netprio_cgroup.c
parent2eebc1e188e9e45886ee00662519849339884d6d (diff)
downloadlinux-936597631dd310e220544dc5c6075d924efd39b2.tar.xz
ixgbevf: Prevent RX/TX statistics getting reset to zero
The commit 4197aa7bb81877ebb06e4f2cc1b5fea2da23a7bd implements 64 bit per ring statistics. But the driver resets the 'total_bytes' and 'total_packets' from RX and TX rings in the RX and TX interrupt handlers to zero. This results in statistics being lost and user space reporting RX and TX statistics as zero. This patch addresses the issue by preventing the resetting of RX and TX ring statistics to zero. Signed-off-by: Narendra K <narendra_k@dell.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netprio_cgroup.c')
0 files changed, 0 insertions, 0 deletions