diff options
author | Joshua Washington <[email protected]> | 2024-07-16 10:10:41 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-17 22:11:20 -0700 |
commit | 03b54bad26f3c78bb1f90410ec3e4e7fe197adc9 (patch) | |
tree | f043beb6b9c71ac1bec27578048d35a54f615191 /lib/memory-notifier-error-inject.c | |
parent | 0e03c643dc9389e61fa484562dae58c8d6e96d63 (diff) |
gve: Fix XDP TX completion handling when counters overflow
In gve_clean_xdp_done, the driver processes the TX completions based on
a 32-bit NIC counter and a 32-bit completion counter stored in the tx
queue.
Fix the for loop so that the counter wraparound is handled correctly.
Fixes: 75eaae158b1b ("gve: Add XDP DROP and TX support for GQI-QPL format")
Signed-off-by: Joshua Washington <[email protected]>
Signed-off-by: Praveen Kaligineedi <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions