summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-07-15 11:27:32 +0300
committerJakub Kicinski <kuba@kernel.org>2020-07-15 18:10:00 -0700
commit5061e773264b11fdc51c61d6619aca76efd3424f (patch)
tree4bec9f85c72c37658c0a596b9fe3fbe9d75ce89d /kernel/sysctl_binary.c
parentcb12d176326722e2f4ede4e459e86ea36607c555 (diff)
downloadcachepc-linux-5061e773264b11fdc51c61d6619aca76efd3424f.tar.gz
cachepc-linux-5061e773264b11fdc51c61d6619aca76efd3424f.zip
selftests: mlxsw: Add scale test for tc-police
Query the maximum number of supported policers using devlink-resource and test that this number can be reached by configuring tc filters with police action. Test that an error is returned in case the maximum number is exceeded. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions