swift-nio/Sources/CNIOLinux
George Barnett e208367c8e
Allow UDP GRO tests to fail in some circumstances (#2387)
Motivation:

The recently added UDP GRO tests fail on some older Linux Kernel
versions. We believe that UDP GRO support on loopback was limited in
early versions so we should tolerate those failures.

However, we've verified that on 5.15 and newer that GRO is supported so
we should not tolerate failure in those cases.

Modifications:

- Add shims to CNIOLinux to get system info via uname
- Verify GRO works before running GRO tests and if it doesn't then
  validate the kernel version isn't greater than 5.15.

Results:

Less flaky tests.
2023-03-13 11:12:06 +00:00
..
include Allow UDP GRO tests to fail in some circumstances (#2387) 2023-03-13 11:12:06 +00:00
liburing_shims.c Added second implementation of liburing as discussed in #1761. (#1804) 2021-04-29 10:40:27 +01:00
shim.c Allow UDP GRO tests to fail in some circumstances (#2387) 2023-03-13 11:12:06 +00:00