From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by dpdk.org (Postfix) with ESMTP id 5E45D5A36 for ; Thu, 26 Feb 2015 03:32:07 +0100 (CET) Received: by mail-ig0-f170.google.com with SMTP id l13so41090026iga.1 for ; Wed, 25 Feb 2015 18:32:07 -0800 (PST) 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=vf1AcNdVa40XeS0BMIJSG6li+nn1ycEkem9NYvZo2Bg=; b=YksDXAWHEGwX2JuFRQ9tmyRo8UJhIoh0OdJD5+HP7Qs6kcS61IHDqPSTcWY1dAOobq 8mXAeHMLJYkr843PwTsUu+awOuHkmbXFdj8M5k5XHOp/pn/8FfNU5gYudA0pIStCKTWJ czyUwRxE6mkM32os9tdxVRKFwwQ28uPkgSK9ZS7u2WpiW/srnBGlMBhmzwDRjuHR9vsI 796tffe4UtJgv53Dsw3sb18rfhckcCDJ8K1lSojB+6ENVW8V1DtaxjgdHluEd5tqjB+N BcYpi7bKcfkeY2Wx6m3xOlYDmZK9KRN/OyzmRUxfAHvgwdMwv+o1JzrxviMcStg+zhuR 2qVA== X-Gm-Message-State: ALoCoQmTN1Y2+W8tj595Qax2JZew1hXXzMdOkg1qfpeewebe3fwgEp4L8RN6glDW0DNr+YvzzWmn X-Received: by 10.107.160.212 with SMTP id j203mr8855211ioe.43.1424917926904; Wed, 25 Feb 2015 18:32:06 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id y5sm336741ign.7.2015.02.25.18.32.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 18:32:06 -0800 (PST) From: Stephen Hemminger To: Yong Wang Date: Wed, 25 Feb 2015 18:31:58 -0800 Message-Id: <1424917922-1979-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1424917922-1979-1-git-send-email-stephen@networkplumber.org> References: <1424917922-1979-1-git-send-email-stephen@networkplumber.org> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 3/7] 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, 26 Feb 2015 02:32:07 -0000 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 --- lib/librte_pmd_vmxnet3/vmxnet3_ring.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_ring.h b/lib/librte_pmd_vmxnet3/vmxnet3_ring.h index c5abdb6..ebe6268 100644 --- a/lib/librte_pmd_vmxnet3/vmxnet3_ring.h +++ b/lib/librte_pmd_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