From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 13BB95A72 for ; Thu, 9 Jul 2015 20:24:11 +0200 (CEST) Received: by pdrg1 with SMTP id g1so37603159pdr.2 for ; Thu, 09 Jul 2015 11:24:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=53ilpEExDD+bOHd+0RzMqOriQWsvA2JblmmRIBeFRas=; b=EDL9P78TzTKz+Wsi3n2RIkkEZKS/iFNtoQ2iM89GvAb7wQJNSVduVwIatxTRtnuqCL YyqXBEXXo9uwcsE8x4+Z9rrdg9pe66WIbzt8zAA769g8BWZDoaeY2LvMMGSdTdyPKNFO qJZGBeqzN/yWhvU4pxKtNZuuDBpTCoU4T2QPDtqJusrH+5fK/Xi+wg1KtIbgaOGAvoPF 1/LQfbAFq25FEa/dGTHLZiwWS63sifBghGuJHsGXixTmH9/wLUtm+VasdF24heDX/cyE 5pxNJ9S5k+3/zlf50iz14vPEGm8DwUSgbj/KPw0pMG8oIDVat/btgz3wIzNlaOc+JVED Vp7Q== X-Gm-Message-State: ALoCoQm/hFmwrqS3wYlYGyLaw2isJUbHbfevvXe1xrwCljYuHU+G9glQJvZkOMaeDmRYv1O+sRwC X-Received: by 10.66.132.16 with SMTP id oq16mr33971378pab.89.1436466250448; Thu, 09 Jul 2015 11:24:10 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id ff10sm6741567pab.13.2015.07.09.11.24.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 11:24:09 -0700 (PDT) From: stephen@networkplumber.org X-Google-Original-From: stephen@networplumber.org To: dev@dpdk.org Date: Thu, 9 Jul 2015 11:24:11 -0700 Message-Id: <1436466256-17442-4-git-send-email-stephen@networplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436466256-17442-1-git-send-email-stephen@networplumber.org> References: <1436466256-17442-1-git-send-email-stephen@networplumber.org> Subject: [dpdk-dev] [PATCH 3/8] vmxnet3: cleanup txq stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 18:24:11 -0000 From: Stephen Hemminger There are several stats here which are never set, and have no way to be displayed. Assume in future xstats could be used. Signed-off-by: Stephen Hemminger --- drivers/net/vmxnet3/vmxnet3_ring.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ring.h b/drivers/net/vmxnet3/vmxnet3_ring.h index c5abdb6..ebe6268 100644 --- a/drivers/net/vmxnet3/vmxnet3_ring.h +++ b/drivers/net/vmxnet3/vmxnet3_ring.h @@ -121,16 +121,12 @@ vmxnet3_comp_ring_adv_next2proc(struct vmxnet3_comp_ring *ring) } struct vmxnet3_txq_stats { - uint64_t drop_total; /* # of pkts dropped by the driver, the - * counters below track droppings due to - * different reasons - */ - uint64_t drop_oversized; - uint64_t drop_hdr_inspect_err; - uint64_t drop_tso; - uint64_t deferred; - uint64_t tx_ring_full; - uint64_t linearized; /* # of pkts linearized */ + uint64_t drop_total; /* # of pkts dropped by the driver, + * the counters below track droppings due to + * different reasons + */ + uint64_t drop_tso; + uint64_t tx_ring_full; }; typedef struct vmxnet3_tx_ctx { -- 2.1.4