diff options
| author | Ido Schimmel <[email protected]> | 2024-12-16 17:12:01 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-12-19 15:02:22 +0000 |
| commit | 5760711e198d86bd0d0b9270a54a494ae9a501e0 (patch) | |
| tree | 5585067fe92d6d4a85f86eb748a1691ed7dc0202 /drivers/net/dsa/microchip/ksz_common.c | |
| parent | tracing: ipv6: Add flow label to fib6_table_lookup tracepoint (diff) | |
| download | kernel-5760711e198d86bd0d0b9270a54a494ae9a501e0.tar.gz kernel-5760711e198d86bd0d0b9270a54a494ae9a501e0.zip | |
selftests: fib_rule_tests: Add flow label selector match tests
Add tests for the new FIB rule flow label selector. Test both good and bad
flows and with both input and output routes.
# ./fib_rule_tests.sh
IPv6 FIB rule tests
[...]
TEST: rule6 check: flowlabel redirect to table [ OK ]
TEST: rule6 check: flowlabel no redirect to table [ OK ]
TEST: rule6 del by pref: flowlabel redirect to table [ OK ]
TEST: rule6 check: iif flowlabel redirect to table [ OK ]
TEST: rule6 check: iif flowlabel no redirect to table [ OK ]
TEST: rule6 del by pref: iif flowlabel redirect to table [ OK ]
TEST: rule6 check: flowlabel masked redirect to table [ OK ]
TEST: rule6 check: flowlabel masked no redirect to table [ OK ]
TEST: rule6 del by pref: flowlabel masked redirect to table [ OK ]
TEST: rule6 check: iif flowlabel masked redirect to table [ OK ]
TEST: rule6 check: iif flowlabel masked no redirect to table [ OK ]
TEST: rule6 del by pref: iif flowlabel masked redirect to table [ OK ]
[...]
Tests passed: 268
Tests failed: 0
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Guillaume Nault <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions
