From: Hangbin Liu <hidden> Date: 2021-12-13 08:36:37
The resent 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 <redacted>
---
tools/testing/selftests/net/forwarding/forwarding.config.sample | 2 ++
1 file changed, 2 insertions(+)
@@ -13,6 +13,8 @@ NETIFS[p5]=veth4 NETIFS[p6]=veth5 NETIFS[p7]=veth6 NETIFS[p8]=veth7+NETIFS[p9]=veth8+NETIFS[p10]=veth9 # Port that does not have a cable connected. NETIF_NO_CABLE=eth8
On Mon, Dec 13, 2021 at 04:36:00PM +0800, Hangbin Liu wrote:
The resent GRE selftests defined NUM_NETIFS=10. If the users copy
s/resent/recent/
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 <redacted>
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:
On Mon, 13 Dec 2021 16:36:00 +0800 you wrote:
The resent 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.
[...]