]> git.itanic.dy.fi Git - linux-stable/commit
selftests: forwarding: Add test cases for flower port range matching
authorIdo Schimmel <idosch@nvidia.com>
Tue, 11 Jul 2023 16:44:03 +0000 (18:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Jul 2023 23:57:18 +0000 (16:57 -0700)
commit209218e4799bf1bac0296f749b824b4e0da1575e
tree3548980a5247b5d27cea1afe1456c1a63a79a550
parent0a1a818d8a1c13375219d358de7e0e28e308d6a5
selftests: forwarding: Add test cases for flower port range matching

Add test cases to verify that flower port range matching works
correctly. Test both source and destination port ranges, with different
combinations of IPv4/IPv6 and TCP/UDP, on both ingress and egress.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/9d47c9cd4522b2d335b13ce8f6c9b33199298cee.1689092769.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/Makefile
tools/testing/selftests/net/forwarding/tc_flower_port_range.sh [new file with mode: 0755]