OSDN Git Service

selftests: mlxsw: Add devlink_lib_spectrum.sh
authorPetr Machata <petrm@mellanox.com>
Sat, 30 Jun 2018 00:48:12 +0000 (02:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 13:06:15 +0000 (22:06 +0900)
commit5aeba3e89b3ee4e541dc882d23c7332893dd4b5a
tree697e0da255c9b1b5998e179000cd1ddf1d50dbf6
parentbc7cbb1e9f4ccb147fefb7502ab8acdcd52b9a29
selftests: mlxsw: Add devlink_lib_spectrum.sh

This library builds on top of devlink_lib.sh and contains functionality
specific to Spectrum ASICs, e.g., re-partitioning the various KVD
sub-parts.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
[petrm@mellanox.com: Split this out from another patch. Fix line length
in devlink_sp_read_kvd_defaults().]
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
tools/testing/selftests/drivers/net/mlxsw/spectrum/devlink_lib_spectrum.sh [new file with mode: 0644]