diff options
| author | Joe Damato <jdamato@fastly.com> | 2024-05-28 18:11:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-30 17:14:45 -0700 |
| commit | 6166bb0cacb62c388e4ed06167511a70591cc59a (patch) | |
| tree | 895875f14614c782dbb4effed0c69eebf94b5205 /tools/perf/scripts/python/export-to-sqlite.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 <jdamato@fastly.com>
Tested-by: Martin Karsten <mkarsten@uwaterloo.ca>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20240528181139.515070-2-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
