selftests: mlxsw: Add shared buffer traffic test
authorShalom Toledo <shalomt@mellanox.com>
Thu, 27 Feb 2020 07:50:18 +0000 (08:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 19:10:15 +0000 (11:10 -0800)
commita865ad9996039ea7be932917e5f08daceb1c3f4b
treec660bd48d5dc2c7e059a2cee96f6fa0c9ea35755
parent4240dbd8f384cbe227ee654b46f2dd711326eec1
selftests: mlxsw: Add shared buffer traffic test

Test the max shared buffer occupancy for port's pool and port's TC's (using
different types of packets).

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/sharedbuffer.sh [new file with mode: 0755]