]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add rtnetlink tests
authorIdo Schimmel <idosch@mellanox.com>
Wed, 19 Dec 2018 06:08:51 +0000 (06:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 20:28:07 +0000 (12:28 -0800)
commit15158b4dc71b5a31325a9cd9bad12b22aa3f4700
treec73e061039e7a58ebd52b618bfb59ffa49607b29
parentc8ef16011e966d7f44af81a642cb11c9ff3a5349
selftests: mlxsw: Add rtnetlink tests

Add a new test that is focused on rtnetlink configuration. Its purpose
is to test valid and invalid (as deemed by mlxsw) configurations and
make sure that they succeed / fail without producing a trace.

Some of the test cases are derived from recent fixes in order to make
sure that the fixed bugs are not introduced again.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh