[PATCH v2 2/2] vhost: add new mbuf allocation failure statistic
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Tue Feb  6 15:59:20 CET 2024
    
    
  
On 1/31/24 20:53, Maxime Coquelin wrote:
> This patch introduces a new, per virtqueue, mbuf allocation
> failure statistic. It can be useful to troubleshoot packets
> drops due to insufficient mempool size or memory leaks.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
>   lib/vhost/vhost.c      |  1 +
>   lib/vhost/vhost.h      |  1 +
>   lib/vhost/virtio_net.c | 17 +++++++++++++----
>   3 files changed, 15 insertions(+), 4 deletions(-)
> 
Applied to next-virtio tree.
Thanks,
Maxime
    
    
More information about the dev
mailing list