Commit b1a0c97
ice: fix incorrect counter for buffer allocation failures
Currently, the driver increments `alloc_page_failed` when buffer allocation fails
in `ice_clean_rx_irq()`. However, this counter is intended for page allocation
failures, not buffer allocation issues.
This patch corrects the counter by incrementing `alloc_buf_failed` instead,
ensuring accurate statistics reporting for buffer allocation failures.
Fixes: 2fba7dc ("ice: Add support for XDP multi-buffer on Rx side")
Reported-by: Jacob Keller <[email protected]>
Suggested-by: Paul Menzel <[email protected]>
Signed-off-by: Michal Kubiak <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Tested-by: Priya Singh <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>1 parent 5c5e5b5 commit b1a0c97
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
| 1355 | + | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
| |||
0 commit comments