diff options
author | Joshua Washington <joshwash@google.com> | 2024-07-16 10:10:41 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-17 22:11:20 -0700 |
commit | 03b54bad26f3c78bb1f90410ec3e4e7fe197adc9 (patch) | |
tree | f043beb6b9c71ac1bec27578048d35a54f615191 /scripts/gdb/linux/radixtree.py | |
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 <joshwash@google.com>
Signed-off-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240716171041.1561142-1-pkaligineedi@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions