selftest/net/forwarding: declare NETIFS p9 p10
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 13 Dec 2021 08:36:00 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:30:54 +0000 (09:30 +0100)
commitcac0fd4b9bd385b96b6548dcda7e22e03d2694b2
tree04e4d984f6840cc50858166034ce48a70dcdb00d
parent81fbdd45652d8605a029e78ef14a6aaa529c4e72
selftest/net/forwarding: declare NETIFS p9 p10

[ Upstream commit 71da1aec215290e249d09c44c768df859f3a3bba ]

The recent GRE selftests defined NUM_NETIFS=10. If the users copy
forwarding.config.sample to forwarding.config directly, they will get
error "Command line is not complete" when run the GRE tests, because
create_netif_veth() failed with no interface name defined.

Fix it by extending the NETIFS with p9 and p10.

Fixes: 2800f2485417 ("selftests: forwarding: Test multipath hashing on inner IP pkts for GRE tunnel")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/forwarding.config.sample