From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id 314375AA1 for ; Fri, 6 Mar 2015 01:10:47 +0100 (CET) Received: by pdjy10 with SMTP id y10so636569pdj.12 for ; Thu, 05 Mar 2015 16:10:46 -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=aS/T+drKfJryH8p+AzTPj4REZmEnURvXEge9kfpYUX0=; b=nMDvh7KA3Ug4ofqKH4orzWKZTLUvTJomgekCs64ooo6kA/wDrUqCuGw5ieA9wkUTuB wPHNb18udDTx895rHJovSWUuGfLS4QICWT1Y3JzbZOFqLXGbUAHB7grsvqjB7WP/6MQN rQ1+6W616o1Afi+YuJ5sn2hLx/JGnng8F1SWC+msfHsGGfzmfqP3kiQEq4QXu/h9AT2s kgTF4cl3QBFG6LGfN4IDg2ctdRuiBAWKfK2i7v6Itjl3h76OSQ2wABInV+CMWL/5bIPc 3HGWtionRwUpKpiyA8OfdjxvNyA3s2DE5scQNMgq3NOWXZx0e5vZUml6t3FxYIOLMlaw zvKg== X-Gm-Message-State: ALoCoQlwKsAiJogj0MyrSL7jvVqA3tmvbTQHN/VjSQs0obeA/UxHwtRUGWRhZBTsXnfBvbY8WWgb X-Received: by 10.70.134.163 with SMTP id pl3mr20178207pdb.45.1425600646543; Thu, 05 Mar 2015 16:10:46 -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 ms5sm7940550pbb.59.2015.03.05.16.10.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Mar 2015 16:10:45 -0800 (PST) From: Stephen Hemminger To: Yong Wang Date: Thu, 5 Mar 2015 16:10:29 -0800 Message-Id: <1425600635-20628-5-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425600635-20628-1-git-send-email-stephen@networkplumber.org> References: <1425600635-20628-1-git-send-email-stephen@networkplumber.org> Cc: dev@dpdk.org, Stephen Hemminger Subject: [dpdk-dev] [PATCH v3 04/10] 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: Fri, 06 Mar 2015 00:10:47 -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 Acked-by: Yong Wang --- 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