diff options
| author | Ido Schimmel <[email protected]> | 2025-02-20 08:05:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-22 00:08:49 +0000 |
| commit | e818d1d1a6eeaa75ad7a44082e546de897308de1 (patch) | |
| tree | abb3aa2cf7678fee04f5ac16949956145572c715 /arch/s390/lib/test_modules_helpers.c | |
| parent | netlink: specs: Add FIB rule DSCP mask attribute (diff) | |
| download | kernel-e818d1d1a6eeaa75ad7a44082e546de897308de1.tar.gz kernel-e818d1d1a6eeaa75ad7a44082e546de897308de1.zip | |
selftests: fib_rule_tests: Add DSCP mask match tests
Add tests for FIB rules that match on DSCP with a mask. Test both good
and bad flows and both the input and output paths.
# ./fib_rule_tests.sh
IPv6 FIB rule tests
[...]
TEST: rule6 check: dscp redirect to table [ OK ]
TEST: rule6 check: dscp no redirect to table [ OK ]
TEST: rule6 del by pref: dscp redirect to table [ OK ]
TEST: rule6 check: iif dscp redirect to table [ OK ]
TEST: rule6 check: iif dscp no redirect to table [ OK ]
TEST: rule6 del by pref: iif dscp redirect to table [ OK ]
TEST: rule6 check: dscp masked redirect to table [ OK ]
TEST: rule6 check: dscp masked no redirect to table [ OK ]
TEST: rule6 del by pref: dscp masked redirect to table [ OK ]
TEST: rule6 check: iif dscp masked redirect to table [ OK ]
TEST: rule6 check: iif dscp masked no redirect to table [ OK ]
TEST: rule6 del by pref: iif dscp masked redirect to table [ OK ]
[...]
Tests passed: 316
Tests failed: 0
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Guillaume Nault <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions
