From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754201Ab1KKCAe (ORCPT ); Thu, 10 Nov 2011 21:00:34 -0500 Received: from mail-yw0-f74.google.com ([209.85.213.74]:47150 "EHLO mail-yw0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520Ab1KKCAc (ORCPT ); Thu, 10 Nov 2011 21:00:32 -0500 From: David Decotigny To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "David S. Miller" , Ian Campbell , Eric Dumazet , Jeff Kirsher , Ben Hutchings , Jiri Pirko , Joe Perches , Szymon Janc , David Decotigny Subject: [PATCH net-next v2 00/10] forcedeth: stats & debug enhancements Date: Thu, 10 Nov 2011 17:31:25 -0800 Message-Id: X-Mailer: git-send-email 1.7.3.1 Organization: Google, Inc. X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These changes implement the ndo_get_stats64 API and add a few more stats and debugging features for forcedeth. They also ensure that stats updates are correct in SMP systems, 32 or 64-bits. Changes since v1: - patch 1/10 is the same as http://patchwork.ozlabs.org/patch/125017/ (targetting net) - other patches updated to take patch 1/10 into account - various commit message updates Tested: ~150Mbps incoming TCP, ethtool -S in a loop, x86_64 16-way: tx_bytes: 1413863329 rx_packets: 38918872 tx_packets: 19828148 rx_bytes: 57818685991 ############################################ # Patch Set Summary: David Decotigny (8): forcedeth: fix ifconfig stats on hardware without extended stats support forcedeth: expose module parameters in /sys/module forcedeth: stats for rx_packets based on hardware registers forcedeth: implement ndo_get_stats64() API forcedeth: account for dropped RX frames forcedeth: new ethtool stat counter for TX timeouts forcedeth: stats updated with a deferrable timer forcedeth: whitespace/indentation fixes Mike Ditto (1): forcedeth: Add messages to indicate using MSI or MSI-X Sameer Nanda (1): forcedeth: allow to silence "TX timeout" debug messages drivers/net/ethernet/nvidia/forcedeth.c | 314 ++++++++++++++++++++++--------- 1 files changed, 225 insertions(+), 89 deletions(-) -- 1.7.3.1