diff options
| author | Daniel Zahka <daniel.zahka@gmail.com> | 2026-10-12 05:04:37 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-21 10:26:49 +0200 |
| commit | ce0d4765892063a801c11037c98e0e9db54f5573 (patch) | |
| tree | f31230f16bc19cc8e72319b95bce14a63e4cb698 /scripts/Makefile.thinlto | |
| parent | 3b28e126619ff76e27201e2791101153da4902ac (diff) | |
| download | linux-ce0d4765892063a801c11037c98e0e9db54f5573.tar.gz linux-ce0d4765892063a801c11037c98e0e9db54f5573.zip | |
eth: mpnic: count Rx allocation failures
Count both skb allocation failures and page pool allocation failures per
queue, and report them through the queue stats API. The bdq allocation
failures are added to the skb allocation failures when reporting to core
and folded into base stats during aggregation, because the qstats API
doesn't support reporting them separately.
Page pool allocation failures are also counted when the BDQs are first
filled in ndo_open, which runs in process context. mpnic_fill() disables
BH around the fill, so the u64_stats update happens with preemption
disabled.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20261012-mpnic-counters3-v2-4-8afba81c2d5a@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
