diff options
| author | Joe Damato <[email protected]> | 2024-05-28 18:11:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-05-31 00:14:45 +0000 |
| commit | 6166bb0cacb62c388e4ed06167511a70591cc59a (patch) | |
| tree | 895875f14614c782dbb4effed0c69eebf94b5205 /net/unix/af_unix.c | |
| parent | Merge branch 'introduce-switch-mode-support-for-icssg-driver' (diff) | |
| download | kernel-6166bb0cacb62c388e4ed06167511a70591cc59a.tar.gz kernel-6166bb0cacb62c388e4ed06167511a70591cc59a.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
