mbox series

[net-next,v2,0/5] selftests: tc-testing: misc changes for tdc

Message ID 20240124181933.75724-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series selftests: tc-testing: misc changes for tdc | expand

Message

Pedro Tammela Jan. 24, 2024, 6:19 p.m. UTC
Patches 1 and 3 are fixes for tdc that were discovered when running it
using defconfig + tc-testing config and against the latest iproute2.

Patch 2 improves the taprio tests.

Patch 4 enables all tdc tests.

Patch 5 fixes the return code of tdc for when a test fails
setup/teardown.

v1->v2: Suggestions by Davide

Pedro Tammela (5):
  selftests: tc-testing: add missing netfilter config
  selftests: tc-testing: check if 'jq' is available in taprio tests
  selftests: tc-testing: adjust fq test to latest iproute2
  selftests: tc-testing: enable all tdc tests
  selftests: tc-testing: return fail if a test fails in setup/teardown

 tools/testing/selftests/tc-testing/config                      | 1 +
 tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json     | 2 +-
 tools/testing/selftests/tc-testing/tc-tests/qdiscs/taprio.json | 2 ++
 tools/testing/selftests/tc-testing/tdc.py                      | 2 +-
 tools/testing/selftests/tc-testing/tdc.sh                      | 3 +--
 5 files changed, 6 insertions(+), 4 deletions(-)

Comments

Jamal Hadi Salim Jan. 24, 2024, 11:14 p.m. UTC | #1
On Wed, Jan 24, 2024 at 1:19 PM Pedro Tammela <pctammela@mojatatu.com> wrote:
>
> Patches 1 and 3 are fixes for tdc that were discovered when running it
> using defconfig + tc-testing config and against the latest iproute2.
>
> Patch 2 improves the taprio tests.
>
> Patch 4 enables all tdc tests.
>
> Patch 5 fixes the return code of tdc for when a test fails
> setup/teardown.
>
> v1->v2: Suggestions by Davide
>

For the patchset
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>

cheers,
jamal
> Pedro Tammela (5):
>   selftests: tc-testing: add missing netfilter config
>   selftests: tc-testing: check if 'jq' is available in taprio tests
>   selftests: tc-testing: adjust fq test to latest iproute2
>   selftests: tc-testing: enable all tdc tests
>   selftests: tc-testing: return fail if a test fails in setup/teardown
>
>  tools/testing/selftests/tc-testing/config                      | 1 +
>  tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json     | 2 +-
>  tools/testing/selftests/tc-testing/tc-tests/qdiscs/taprio.json | 2 ++
>  tools/testing/selftests/tc-testing/tdc.py                      | 2 +-
>  tools/testing/selftests/tc-testing/tdc.sh                      | 3 +--
>  5 files changed, 6 insertions(+), 4 deletions(-)
>
> --
> 2.40.1
>
Davide Caratti Jan. 25, 2024, 8:52 a.m. UTC | #2
On Wed, Jan 24, 2024 at 03:19:28PM -0300, Pedro Tammela wrote:
> Patches 1 and 3 are fixes for tdc that were discovered when running it
> using defconfig + tc-testing config and against the latest iproute2.
> 
> Patch 2 improves the taprio tests.
> 
> Patch 4 enables all tdc tests.
> 
> Patch 5 fixes the return code of tdc for when a test fails
> setup/teardown.
> 
> v1->v2: Suggestions by Davide
>

for the series,

Reviewed-by: Davide Caratti <dcaratti@redhat.com> 

thanks!
patchwork-bot+netdevbpf@kernel.org Jan. 26, 2024, 12:40 a.m. UTC | #3
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 24 Jan 2024 15:19:28 -0300 you wrote:
> Patches 1 and 3 are fixes for tdc that were discovered when running it
> using defconfig + tc-testing config and against the latest iproute2.
> 
> Patch 2 improves the taprio tests.
> 
> Patch 4 enables all tdc tests.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/5] selftests: tc-testing: add missing netfilter config
    https://git.kernel.org/netdev/net-next/c/14a12e6c0b7f
  - [net-next,v2,2/5] selftests: tc-testing: check if 'jq' is available in taprio tests
    https://git.kernel.org/netdev/net-next/c/4f4d38412140
  - [net-next,v2,3/5] selftests: tc-testing: adjust fq test to latest iproute2
    https://git.kernel.org/netdev/net-next/c/3007d8712c9b
  - [net-next,v2,4/5] selftests: tc-testing: enable all tdc tests
    https://git.kernel.org/netdev/net-next/c/d17d0e333707
  - [net-next,v2,5/5] selftests: tc-testing: return fail if a test fails in setup/teardown
    https://git.kernel.org/netdev/net-next/c/8981a85e1ba7

You are awesome, thank you!