Files
linux-stable-mirror/drivers
Yevgeny KliteynikandGreg Kroah-Hartman ad3bc43e72 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule
[ Upstream commit 94a3ad6c08 ]

This patch reduces the size of hw_ste_arr_optimized array that is
allocated on stack from 640 bytes (5 match STEs + 5 action STES)
to 448 bytes (2 match STEs + 5 action STES).
This fixes the 'stack guard page was hit' issue, while still fitting
majority of the usecases (up to 2 match STEs).

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/20240730061638.1831002-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-08 07:54:31 +02:00
..
2024-08-29 17:33:59 +02:00
2024-08-19 06:04:28 +02:00
2024-08-29 17:33:42 +02:00
2024-08-11 12:47:15 +02:00
2024-09-04 13:28:30 +02:00