diff options
author | Joe Damato <[email protected]> | 2024-05-28 18:11:36 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-30 17:14:45 -0700 |
commit | 6166bb0cacb62c388e4ed06167511a70591cc59a (patch) | |
tree | 895875f14614c782dbb4effed0c69eebf94b5205 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 95cd03f32a1680f693b291da920ab5d3f9d8c5c1 (diff) |
net/mlx4: Track RX allocation failures in a stat
mlx4_en_alloc_frags currently returns -ENOMEM when mlx4_alloc_page
fails but does not increment a stat field when this occurs.
A new field called alloc_fail has been added to struct mlx4_en_rx_ring
which is now incremented in mlx4_en_rx_ring when -ENOMEM occurs.
Signed-off-by: Joe Damato <[email protected]>
Tested-by: Martin Karsten <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions