]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/net/forwarding: declare NETIFS p9 p10
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 13 Dec 2021 08:36:00 +0000 (16:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2021 14:54:15 +0000 (14:54 +0000)
commitdd084ae34a857a14f2a665fc4f220cb15d7aa7e3
tree03b6b306493568a91f126b6a81e23311994aef1b
parenta662940d2e78a9c8bf81efa046357e88ef59a6da
selftest/net/forwarding: declare NETIFS p9 p10

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: eadecd5b8ac4 ("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>
tools/testing/selftests/net/forwarding/forwarding.config.sample