mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
selftests: forwarding: Add suppport to create veth interfaces
For tests using veth interfaces, the test infrastructure can create the netdevs if they do not exist. Arguably this is a preferred approach since the tests require p$N and p$(N+1) to be pairs. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
955dc68cb9
commit
190f887c3c
@@ -14,6 +14,11 @@ NETIFS[p6]=veth5
|
||||
NETIFS[p7]=veth6
|
||||
NETIFS[p8]=veth7
|
||||
|
||||
NETIF_TYPE=veth
|
||||
|
||||
# only virtual interfaces (veth) can be created by test infra
|
||||
#NETIF_CREATE=yes
|
||||
|
||||
##############################################################################
|
||||
# Defines
|
||||
|
||||
|
||||
Reference in New Issue
Block a user