From patchwork Tue May 7 19:55:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahed Shaikh X-Patchwork-Id: 242454 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41B222C0147 for ; Wed, 8 May 2013 06:20:11 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757896Ab3EGUUG (ORCPT ); Tue, 7 May 2013 16:20:06 -0400 Received: from va3ehsobe010.messaging.microsoft.com ([216.32.180.30]:28428 "EHLO va3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695Ab3EGUUF (ORCPT ); Tue, 7 May 2013 16:20:05 -0400 Received: from mail175-va3-R.bigfish.com (10.7.14.251) by VA3EHSOBE001.bigfish.com (10.7.40.21) with Microsoft SMTP Server id 14.1.225.23; Tue, 7 May 2013 20:20:04 +0000 Received: from mail175-va3 (localhost [127.0.0.1]) by mail175-va3-R.bigfish.com (Postfix) with ESMTP id 1A76EA02F3; Tue, 7 May 2013 20:20:04 +0000 (UTC) X-Forefront-Antispam-Report: CIP:198.70.193.115; KIP:(null); UIP:(null); IPV:NLI; H:avcashub1.qlogic.com; RD:avcashub1.qlogic.com; EFVD:NLI X-SpamScore: 1 X-BigFish: VPS1(zzzz1f42h1fc6h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ahzz8275bhz2ei2a8h668h839hd24he5bhf0ah107ah11b5h121eh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14afh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1b0ah1d0ch1d2eh1d3fh1155h) Received-SPF: neutral (mail175-va3: 198.70.193.115 is neither permitted nor denied by domain of qlogic.com) client-ip=198.70.193.115; envelope-from=shahed.shaikh@qlogic.com; helo=avcashub1.qlogic.com ; 1.qlogic.com ; Received: from mail175-va3 (localhost.localdomain [127.0.0.1]) by mail175-va3 (MessageSwitch) id 1367958002362984_15306; Tue, 7 May 2013 20:20:02 +0000 (UTC) Received: from VA3EHSMHS006.bigfish.com (unknown [10.7.14.228]) by mail175-va3.bigfish.com (Postfix) with ESMTP id 546F32A0045; Tue, 7 May 2013 20:20:02 +0000 (UTC) Received: from avcashub1.qlogic.com (198.70.193.115) by VA3EHSMHS006.bigfish.com (10.7.99.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 7 May 2013 20:19:55 +0000 Received: from dut6217.mv.qlogic.com (172.29.56.217) by qlc.com (10.1.4.190) with Microsoft SMTP Server id 14.2.318.1; Tue, 7 May 2013 13:19:54 -0700 Received: by dut6217.mv.qlogic.com (Postfix, from userid 0) id DB02B5220ED; Tue, 7 May 2013 15:55:30 -0400 (EDT) From: Shahed Shaikh To: CC: , , Shahed Shaikh Subject: [PATCH net 2/8] qlcnic: Fix ethtool strings Date: Tue, 7 May 2013 15:55:00 -0400 Message-ID: <1367956506-3290-3-git-send-email-shahed.shaikh@qlogic.com> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1367956506-3290-1-git-send-email-shahed.shaikh@qlogic.com> References: <1367956506-3290-1-git-send-email-shahed.shaikh@qlogic.com> MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Shahed Shaikh o Add missing information in ethtool statistics information array. o Fix the typo in the statistics information string. Signed-off-by: Shahed Shaikh --- .../net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c index 08efb46..6005b06 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c @@ -131,12 +131,13 @@ static const char qlcnic_83xx_rx_stats_strings[][ETH_GSTRING_LEN] = { "ctx_lro_pkt_cnt", "ctx_ip_csum_error", "ctx_rx_pkts_wo_ctx", - "ctx_rx_pkts_dropped_wo_sts", + "ctx_rx_pkts_drop_wo_sds_on_card", + "ctx_rx_pkts_drop_wo_sds_on_host", "ctx_rx_osized_pkts", "ctx_rx_pkts_dropped_wo_rds", "ctx_rx_unexpected_mcast_pkts", "ctx_invalid_mac_address", - "ctx_rx_rds_ring_prim_attemoted", + "ctx_rx_rds_ring_prim_attempted", "ctx_rx_rds_ring_prim_success", "ctx_num_lro_flows_added", "ctx_num_lro_flows_removed",