summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-02-07 12:22:55 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-09 00:02:50 +0100
commit98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d (patch)
treeb0053d9d3c2de5734e516e4224440737e03cd926 /Documentation
parentmlxsw: spectrum_acl: Implement region migration according to hints (diff)
downloadlinux-98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d.tar.xz
linux-98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d.zip
mlxsw: spectrum: add "acl_region_rehash_interval" devlink param
Expose new driver-specific "acl_region_rehash_interval" devlink param which would allow user to alter default ACL region rehash interval. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/devlink-params-mlxsw.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-params-mlxsw.txt b/Documentation/networking/devlink-params-mlxsw.txt
index 2c5c67a920c9..c63ea9fc7009 100644
--- a/Documentation/networking/devlink-params-mlxsw.txt
+++ b/Documentation/networking/devlink-params-mlxsw.txt
@@ -1,2 +1,10 @@
fw_load_policy [DEVICE, GENERIC]
Configuration mode: driverinit
+
+acl_region_rehash_interval [DEVICE, DRIVER-SPECIFIC]
+ Sets an interval for periodic ACL region rehashes.
+ The value is in milliseconds, minimal value is "3000".
+ Value "0" disables the periodic work.
+ The first rehash will be run right after value is set.
+ Type: u32
+ Configuration mode: runtime