kernel_samsung_a53x/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 6054417449 mlxsw: spectrum_acl_tcam: Rate limit error message
[ Upstream commit 5bcf925587e9b5d36420d572a0b4d131c90fb306 ]

In the rare cases when the device resources are exhausted it is likely
that the rehash delayed work will fail. An error message will be printed
whenever this happens which can be overwhelming considering the fact
that the work is per-region and that there can be hundreds of regions.

Fix by rate limiting the error message.

Fixes: e5e7962ee5c2 ("mlxsw: spectrum_acl: Implement region migration according to hints")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Alexander Zubkov <green@qrator.net>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/c510763b2ebd25e7990d80183feff91cde593145.1713797103.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:37 +01:00
..
cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c mlxsw: core: Unregister EMAD trap using FORWARD action 2024-11-19 11:32:36 +01:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_actions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_actions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_keys.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_env.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_env.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emad.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
item.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
minimal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
port.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
resources.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_acl_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_acl_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_atcam.c mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable 2024-11-18 12:12:52 +01:00
spectrum_acl_bloom_filter.c mlxsw: Use size_mul() in call to struct_size() 2024-11-18 11:42:47 +01:00
spectrum_acl_ctcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_erp.c mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure 2024-11-18 12:12:52 +01:00
spectrum_acl_flex_actions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_flex_actions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_flex_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_tcam.c mlxsw: spectrum_acl_tcam: Rate limit error message 2024-11-19 11:32:37 +01:00
spectrum_acl_tcam.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_buffers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_cnt.c mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable 2024-11-18 12:12:52 +01:00
spectrum_cnt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dpipe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dpipe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_fid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_flow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_flower.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ipip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ipip.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_matchall.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr_tcam.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve_vxlan.c mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type 2024-11-08 11:25:45 +01:00
spectrum_policer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_qdisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_router.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_router.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_span.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_span.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_switchdev.c mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable 2024-11-18 12:12:52 +01:00
spectrum_switchdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_trap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_trap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
switchib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
switchx2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
txheader.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00