[PATCH 2/3] net/af_xdp: Fix mbuf alloc failed statistic
Maryam Tahhan
mtahhan at redhat.com
Mon May 13 10:23:08 CEST 2024
On 10/05/2024 16:06, Stephen Hemminger wrote:
> You don't have to use local statistic for this, there already is one in the dev struct
> i.e dev->data->rx_mbuf_alloc_failed. The problem is you need the DPDK port number to find
> what dev is.
I think the diff id that dev->data->rx_mbuf_alloc_failed would reflect
the pure HW(NIC) failed allocations where as the local alloc_failed
would reflect the failed allocations on the xdp side. Both should be
accounted for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240513/23c77632/attachment.htm>
More information about the dev
mailing list