]> www.infradead.org Git - users/hch/misc.git/commit
selftests: tc-testing: add mirred to block tdc tests
authorVictor Nogueira <victor@mojatatu.com>
Fri, 2 Feb 2024 02:07:26 +0000 (23:07 -0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Feb 2024 20:29:28 +0000 (12:29 -0800)
commitf51470c5c4a08d3e69f7c7891633b960aa6fe678
tree5b4269afa0d4d6f6bd57d1045b8387080f7c4756
parent709990df5ed0e7f2aec6cd386a17bd8c1454f7fb
selftests: tc-testing: add mirred to block tdc tests

Add 8 new mirred tdc tests that target mirred to block:

- Add mirred mirror to egress block action
- Add mirred mirror to ingress block action
- Add mirred redirect to egress block action
- Add mirred redirect to ingress block action
- Try to add mirred action with both dev and block
- Try to add mirred action without specifying neither dev nor block
- Replace mirred redirect to dev action with redirect to block
- Replace mirred redirect to block action with mirror to dev

Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://lore.kernel.org/r/20240202020726.529170-1-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json