diff options
author | Jasper Tran O'Leary <jtranoleary@google.com> | 2025-06-05 17:21:06 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-06-05 21:48:57 +0000 |
commit | 46fce000843215ff3d574d1c24fc24771975973e (patch) | |
tree | e4c8ec3b84bc8d37ce3c44c2135fba41ac8d1572 /sys/boot/ofw/libofw/(public-mirror) | |
parent | 7ce93195ddb30b371022ae3adbd9bd24189e1444 (diff) |
We need to invalidate timestamps when a TX queue is cleared so that the
TX timeout detection callout does not mistakenly fire for cleared
packets. When using DQO queue formats, timestamps are set on the pending
packet array whose length is not the same as the length of the
descriptor ring itself. This commit fixes logic which invalidated the
wrong number of pending packets.
Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>
Fixes: 3d2957336c7d ("gve: Add callout to detect and handle TX timeouts")
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D50688
Diffstat (limited to 'sys/boot/ofw/libofw/(public-mirror)')
0 files changed, 0 insertions, 0 deletions