netdevsim: add selftest for forwarding skb between connected ports

Connect two netdevsim ports in different namespaces together, then send
packets between them using socat.

Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Maciek Machnikowski <maciek@machnikowski.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Wei
2024-02-28 15:22:52 -08:00
committed by David S. Miller
parent 8debcf5832
commit dfb429ea4f
2 changed files with 144 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ TEST_PROGS = devlink.sh \
fib.sh \
hw_stats_l3.sh \
nexthop.sh \
peer.sh \
psample.sh \
tc-mq-visibility.sh \
udp_tunnel_nic.sh \