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

Oleksij Rempel posted 4 patches 7 months, 3 weeks ago
There is a newer version of this series
net/core/selftests.c | 308 ++++++++++++++++++++++++++++++++++++++++---
1 file changed, 291 insertions(+), 17 deletions(-)
[PATCH net-next v3 0/4] net: selftest: improve test string formatting and checksum handling
Posted by Oleksij Rempel 7 months, 3 weeks 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.

changes v3:
- no functional changes
- rebase against latest net-next

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

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

--
2.39.5