mbox series

[net-next,0/5] selftests/tc-testing: add tests covering classid

Message ID 20230818163544.351104-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series selftests/tc-testing: add tests covering classid | expand

Message

Pedro Tammela Aug. 18, 2023, 4:35 p.m. UTC
Patches 1-3 add missing tests covering classid behaviour on tdc for cls_fw,
cls_route and cls_fw. This behaviour was recently fixed by valis[0].

Patch 4 comes from the development done in the previous patches as it turns out
cls_route never returns meaningful errors.

Patch 5 also comes from the development done in the previous patches as
some u32 tests were missing an update to the regex pattern to work
properly.

[0] https://lore.kernel.org/all/20230729123202.72406-1-jhs@mojatatu.com/

Pedro Tammela (5):
  selftests/tc-testing: cls_fw: add tests for classid
  selftest/tc-testing: cls_route: add tests for classid
  selftest/tc-testing: cls_u32: add tests for classid
  net/sched: cls_route: make netlink errors meaningful
  selftests/tc-testing: cls_u32: update tests

 net/sched/cls_route.c                         | 27 +++++-----
 .../tc-testing/tc-tests/filters/fw.json       | 49 +++++++++++++++++++
 .../tc-testing/tc-tests/filters/route.json    | 25 ++++++++++
 .../tc-testing/tc-tests/filters/u32.json      | 35 +++++++++++--
 4 files changed, 119 insertions(+), 17 deletions(-)