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

Stephen Hemminger stephen at networkplumber.org
Sun Feb 19 23:59:01 CET 2023


On Sun, 19 Feb 2023 23:43:08 +0300
Levend Sayar <levendsayar at gmail.com> 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 user abuses driver by giving a very small mbuf pool.



More information about the dev mailing list