net/af_xdp: remove unused Tx counter
This Tx counter is now unused. Fixes: 10edf857fde4 ("net/af_xdp: make reserve/submit peek/release consistent") Cc: stable@dpdk.org Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
This commit is contained in:
parent
4b6f5d3dcd
commit
6c54c874d5
@ -97,7 +97,6 @@ struct pkt_rx_queue {
|
||||
|
||||
struct tx_stats {
|
||||
uint64_t tx_pkts;
|
||||
uint64_t err_pkts;
|
||||
uint64_t tx_bytes;
|
||||
};
|
||||
|
||||
@ -456,7 +455,6 @@ eth_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
|
||||
stats->imissed += xdp_stats.rx_dropped;
|
||||
|
||||
stats->opackets += stats->q_opackets[i];
|
||||
stats->oerrors += txq->stats.err_pkts;
|
||||
stats->obytes += stats->q_obytes[i];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user