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.
Fixes: 3d2957336c7d ("gve: Add callout to detect and handle TX timeouts")
Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>