diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2024-07-30 09:16:32 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-31 18:04:51 -0700 |
commit | 94a3ad6c081381fa9ee523781789802b4ed00faf (patch) | |
tree | 141fb0b767ef9fe01d3db8e12425ca724ed573d1 /scripts/generate_rust_analyzer.py | |
parent | a4557b0b57c40871ff00da4f623cf79211e052f3 (diff) |
net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions