From patchwork Thu May 9 19:25:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahed Shaikh X-Patchwork-Id: 242822 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 2D9AE2C00F2 for ; Fri, 10 May 2013 05:50:05 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752268Ab3EITt7 (ORCPT ); Thu, 9 May 2013 15:49:59 -0400 Received: from mail-db8lp0185.outbound.messaging.microsoft.com ([213.199.154.185]:45986 "EHLO db8outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761Ab3EITt7 (ORCPT ); Thu, 9 May 2013 15:49:59 -0400 Received: from mail103-db8-R.bigfish.com (10.174.8.244) by DB8EHSOBE024.bigfish.com (10.174.4.87) with Microsoft SMTP Server id 14.1.225.23; Thu, 9 May 2013 19:49:57 +0000 Received: from mail103-db8 (localhost [127.0.0.1]) by mail103-db8-R.bigfish.com (Postfix) with ESMTP id 95DD4C084D; Thu, 9 May 2013 19:49:57 +0000 (UTC) X-Forefront-Antispam-Report: CIP:198.70.193.116; KIP:(null); UIP:(null); IPV:NLI; H:avcashub1.qlogic.com; RD:avcashub2.qlogic.com; EFVD:NLI X-SpamScore: 1 X-BigFish: VPS1(zzzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2ei2a8h668h839hd24he5bhf0ah107ah11b5h121eh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14afh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1b0ah1d0ch1d2eh1d3fh1155h) Received-SPF: neutral (mail103-db8: 198.70.193.116 is neither permitted nor denied by domain of qlogic.com) client-ip=198.70.193.116; envelope-from=shahed.shaikh@qlogic.com; helo=avcashub1.qlogic.com ; 1.qlogic.com ; Received: from mail103-db8 (localhost.localdomain [127.0.0.1]) by mail103-db8 (MessageSwitch) id 1368128995409282_27467; Thu, 9 May 2013 19:49:55 +0000 (UTC) Received: from DB8EHSMHS024.bigfish.com (unknown [10.174.8.235]) by mail103-db8.bigfish.com (Postfix) with ESMTP id 52E274A023E; Thu, 9 May 2013 19:49:55 +0000 (UTC) Received: from avcashub1.qlogic.com (198.70.193.116) by DB8EHSMHS024.bigfish.com (10.174.4.34) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 9 May 2013 19:49:53 +0000 Received: from dut6217.mv.qlogic.com (172.29.56.217) by qlc.com (10.1.4.191) with Microsoft SMTP Server id 14.2.318.1; Thu, 9 May 2013 12:49:50 -0700 Received: by dut6217.mv.qlogic.com (Postfix, from userid 0) id 32B8B5220EF; Thu, 9 May 2013 15:25:23 -0400 (EDT) From: Shahed Shaikh To: CC: , , Shahed Shaikh Subject: [PATCH net v2 2/8] qlcnic: Fix ethtool strings Date: Thu, 9 May 2013 15:25:10 -0400 Message-ID: <1368127516-9943-3-git-send-email-shahed.shaikh@qlogic.com> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1368127516-9943-1-git-send-email-shahed.shaikh@qlogic.com> References: <1368127516-9943-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",