selftests: Add a test of large binary to devlink health test
authorAya Levin <ayal@mellanox.com>
Tue, 12 Nov 2019 12:07:52 +0000 (14:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 19:25:44 +0000 (11:25 -0800)
commitff18176ad806ea1a7f5f9b404182f97dbb6f9691
tree27025a2f529304e905e9b2c623c0b84ba19112ad
parent8fdcd8fb21c054217b5ca5cb627a9a726dba630f
selftests: Add a test of large binary to devlink health test

Add a test of 2 PAGEs size (exceeds devlink previous length limitation)
of binary data on a 'devlink health dump show' command. Set binary length
to 8192, issue a dump show command and clear it.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/devlink.sh