Skip to content

Commit 71da1ae

Browse files
liuhangbindavem330
authored andcommitted
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: 2800f24 ("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>
1 parent 9d591fc commit 71da1ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/selftests/net/forwarding/forwarding.config.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ NETIFS[p5]=veth4
1313
NETIFS[p6]=veth5
1414
NETIFS[p7]=veth6
1515
NETIFS[p8]=veth7
16+
NETIFS[p9]=veth8
17+
NETIFS[p10]=veth9
1618

1719
# Port that does not have a cable connected.
1820
NETIF_NO_CABLE=eth8

0 commit comments

Comments
 (0)