]> www.infradead.org Git - nvme.git/commit
selftests: net: cope with slow env in gro.sh test
authorPaolo Abeni <pabeni@redhat.com>
Mon, 12 Feb 2024 09:39:41 +0000 (10:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Feb 2024 18:10:11 +0000 (10:10 -0800)
commite58779f47e5eeb4fc9e3707951b81fbe31de5e3b
treef77b0348da61d2eba86fcb994c5c1506ccbf5cb5
parente083dd032eeba9e28e4703cd5aaf4a409ebc3837
selftests: net: cope with slow env in gro.sh test

The gro self-tests sends the packets to be aggregated with
multiple write operations.

When running is slow environment, it's hard to guarantee that
the GRO engine will wait for the last packet in an intended
train.

The above causes almost deterministic failures in our CI for
the 'large' test-case.

Address the issue explicitly ignoring failures for such case
in slow environments (KSFT_MACHINE_SLOW==true).

Fixes: 7d1575014a63 ("selftests/net: GRO coalesce test")
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/97d3ba83f5a2bfeb36f6bc0fb76724eb3dafb608.1707729403.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/gro.sh