From: Stephen Hemminger Date: Thu, 9 Jul 2015 18:24:11 +0000 (-0700) Subject: vmxnet3: cleanup Tx stats per queue X-Git-Tag: spdx-start~8812 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3df28ed516115e8f538d4a98558d6e802e94a5be;p=dpdk.git vmxnet3: cleanup Tx stats per queue 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 --- diff --git a/drivers/net/vmxnet3/vmxnet3_ring.h b/drivers/net/vmxnet3/vmxnet3_ring.h index c5abdb69a9..ebe6268902 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 {