Thanks Ferruh for the review. > On 21 Feb 2023, at 18:58, Ferruh Yigit <ferruh.yi...@amd.com> wrote: > > On 2/21/2023 2:18 PM, Levend Sayar wrote: >> Google Virtual NIC rx/tx queue stats are added as extended stats. >> >> Signed-off-by: Levend Sayar <levendsa...@gmail.com> > > Reviewed-by: Ferruh Yigit <ferruh.yi...@amd.com> > > <...> > >> @@ -20,6 +20,7 @@ gve_rx_refill(struct gve_rx_queue *rxq) >> if (nb_alloc <= rxq->nb_avail) { >> diag = rte_pktmbuf_alloc_bulk(rxq->mpool, &rxq->sw_ring[idx], >> nb_alloc); >> if (diag < 0) { >> + rxq->stats.no_mbufs_bulk++; > > It is not common to record bulk alloc failures, but as 'no_mbufs' > already recorded conventionally, I guess it is OK to keep this extra > stat if it is helpful. >
- Re: [PATCH] net/gve: fix Rx no mbufs stats counter ... Levend Sayar
- Re: [PATCH] net/gve: fix Rx no mbufs stats coun... Stephen Hemminger
- [PATCH v2] net/gve: fix Rx no mbufs stats counter update Levend Sayar
- [PATCH v3 1/2] net/gve: fix Rx no mbufs stats count... Levend Sayar
- [PATCH v3 2/2] net/gve: add Rx/Tx queue stats a... Levend Sayar
- Re: [PATCH v3 2/2] net/gve: add Rx/Tx queue... Ferruh Yigit
- Re: [PATCH v3 2/2] net/gve: add Rx/Tx q... Levend Sayar
- [PATCH v4] net/gve: add Rx/Tx queue stats a... Levend Sayar
- [PATCH v5] net/gve: add Rx/Tx queue sta... Levend Sayar
- Re: [PATCH v5] net/gve: add Rx/Tx ... Ferruh Yigit
- Re: [PATCH v5] net/gve: add Rx... Levend Sayar
- RE: [PATCH v5] net/gve: add Rx... Guo, Junfeng
- Re: [PATCH v5] net/gve: add Rx... Levend Sayar
- Re: [PATCH v5] net/gve: add Rx... Ferruh Yigit
- Re: [PATCH v5] net/gve: add Rx... Levend Sayar
- Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs sta... Ferruh Yigit
- Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs... Levend Sayar
- Re: [PATCH v3 1/2] net/gve: fix Rx no m... Ferruh Yigit
- RE: [PATCH v3 1/2] net/gve: fix Rx... Guo, Junfeng
- Re: [PATCH v3 1/2] net/gve: fi... Levend Sayar
- Re: [PATCH v3 1/2] net/gve: fi... Ferruh Yigit