[PATCH net-next v1 0/4] net: selftest: improve test string formatting and checksum handling

Oleksij Rempel posted 4 patches 1 year ago
There is a newer version of this series
net/core/selftests.c | 307 ++++++++++++++++++++++++++++++++++++++++---
1 file changed, 290 insertions(+), 17 deletions(-)
[PATCH net-next v1 0/4] net: selftest: improve test string formatting and checksum handling
Posted by Oleksij Rempel 1 year ago
This patchset addresses two issues in the current net selftest
framework:

- Truncated test names: Existing test names are prefixed with an index,
  reducing the available space within the ETH_GSTRING_LEN limit.  This
  patch removes the index to allow more descriptive names.

- Inconsistent checksum behavior: On DSA setups and similar
  environments, checksum offloading is not always available or
  appropriate. The previous selftests did not distinguish between software
  and hardware checksum modes, leading to unreliable results. This
  patchset introduces explicit csum_mode handling and adds separate tests
  for both software and hardware checksum validation.

Oleksij Rempel (4):
  net: selftests: drop test index from net_selftest_get_strings()
  net: selftest: prepare for detailed error handling in
    net_test_get_skb()
  net: selftest: add checksum mode support and SW checksum handling
  net: selftest: add PHY loopback tests with HW checksum offload

 net/core/selftests.c | 307 ++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 290 insertions(+), 17 deletions(-)

--
2.39.5