Re: [PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-19 Thread Stephen Hemminger
On Sun, 19 Feb 2023 23:43:08 +0300 Levend Sayar wrote: > LS: “unlikely” can be added. You’re right. Code already tries to make a bulk > allocation first. > If that bulk allocation does not work, it tries to allocate one my one. That seems like a unnecessary step and unlikely to help. Unless the

Re: [PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-19 Thread Levend Sayar
> On 19 Feb 2023, at 20:35, Stephen Hemminger > wrote: > > On Sun, 19 Feb 2023 03:30:59 +0300 > Levend Sayar mailto:levendsa...@gmail.com>> wrote: > >> rx no_mbufs stats counter update is added for another error case. >> >> Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") >> Cc: jun

Re: [PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-19 Thread Stephen Hemminger
On Sun, 19 Feb 2023 03:30:59 +0300 Levend Sayar wrote: > rx no_mbufs stats counter update is added for another error case. > > Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") > Cc: junfeng@intel.com > > Signed-off-by: Levend Sayar > --- > drivers/net/gve/gve_rx.c | 7 ++- >

[PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-18 Thread Levend Sayar
rx no_mbufs stats counter update is added for another error case. Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") Cc: junfeng@intel.com Signed-off-by: Levend Sayar --- drivers/net/gve/gve_rx.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/gv