selftests: net: veth: add tests for set_channel
authorPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jul 2021 08:41:52 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:11:18 +0000 (06:11 -0700)
commit1ec2230fc721e6270b0504c07945a74742c81f81
treea9ea789902e2d66ad3e70af6f179fa1cdc11dad6
parent9d3684c24a5232c2d7ea8f8a3e60fe235e6a9867
selftests: net: veth: add tests for set_channel

Simple functional test for the newly exposed features.

Also add an optional stress test for the channel number
update under flood.

RFC v1 -> RFC v2:
 - add the stress test

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/veth.sh