Skip to content
Commit 3df18416 authored by Ankit Garg's avatar Ankit Garg Committed by Jakub Kicinski
Browse files

gve: Modify rx_buf_alloc_fail counter centrally and closer to failure



Previously, each caller of gve_rx_alloc_buffer had to increase counter
 and as a result one caller was not tracking those failure. Increasing
 counters at a common location now so callers don't have to duplicate
 code or miss counter management.

Signed-off-by: default avatarAnkit Garg <nktgrg@google.com>
Link: https://lore.kernel.org/r/20240124205435.1021490-1-nktgrg@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5535fcc5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment