<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 10/05/2024 16:06, Stephen Hemminger
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20240510080612.7b420011@hermes.local">
<pre>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.</pre>
</blockquote>
<p>I think the diff id that dev->data->rx_mbuf_alloc_failed
would reflect the pure HW(NIC) failed allocations where as the
local <span style="white-space: pre-wrap">alloc_failed would reflect the failed allocations on the xdp side. Both should be accounted for. </span></p>
</body>
</html>