Files
linux-stable-mirror/include/linux/mlx5
Parav Pandit e7b57d5b73 net/mlx5: Create a new profile for SFs
[ Upstream commit 9df839a711 ]

Create a new profile for SFs in order to disable the command cache.
Each function command cache consumes ~500KB of memory, when using a
large number of SFs this savings is notable on memory constarined
systems.

Use a new profile to provide for future differences between SFs and PFs.

The mr_cache not used for non-PF functions, so it is excluded from the
new profile.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Bodong Wang <bodong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Stable-dep-of: 5846a365fc ("net/mlx5: Drain firmware reset in shutdown callback")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-11 15:18:43 +01:00
..