net/gve: add standard and extended statistics
PATCH 3/3 net/gve: add standard and extended statistics
TX side statistics is updated
Signed-off-by Levend Sayar <[email protected]>
--- drivers/net/gve/gve_tx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/gve/gve_tx.c +4 -4
@@ -364,11 +364,11 @@ gve_tx_burst_qpl(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)rte_write32 (rte_cpu_to_be_32 (tx_tail), txq->qtx_tail); txq->tx_tail = tx_tail; txq->sw_tail = sw_id; - } -/* update stats */ - txq->packets += nb_tx; - txq->bytes += total_len; +/* update stats */ + txq->packets += nb_tx; + txq->bytes += total_len; + }return nb_tx; }
Signature · 1 line
2.37.1 (Apple Git-137.1)