diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-02-07 11:22:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-08 15:02:50 -0800 |
commit | 98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d (patch) | |
tree | b0053d9d3c2de5734e516e4224440737e03cd926 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | e5e7962ee5c277f769791d1d857d3641200ee0eb (diff) | |
download | linux-stable-98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d.tar.gz linux-stable-98bbf70c1c41fb9547c3a18c0f1b96f6ebb8eb1d.tar.bz2 linux-stable-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 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h index 3d17b4a368f4..ceebc91f4f1d 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h @@ -690,6 +690,8 @@ struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp); int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp); void mlxsw_sp_acl_fini(struct mlxsw_sp *mlxsw_sp); +u32 mlxsw_sp_acl_region_rehash_intrvl_get(struct mlxsw_sp *mlxsw_sp); +int mlxsw_sp_acl_region_rehash_intrvl_set(struct mlxsw_sp *mlxsw_sp, u32 val); /* spectrum_acl_tcam.c */ struct mlxsw_sp_acl_tcam; |