summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRatheesh Kannoth <rkannoth@marvell.com>2026-05-21 12:52:56 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-26 00:03:06 +0300
commite57516529a5bd9e228d1cd80b460fbc1c34bbea4 (patch)
tree16179a5c0a7c8f51783f939f4766c417db6d8de8 /include/uapi
parentbfea46abf62b61ad587c217d2938e970d4993153 (diff)
downloadlinux-e57516529a5bd9e228d1cd80b460fbc1c34bbea4.tar.xz
net/mlx5e: Reduce stack use reading PCIe congestion thresholds
union devlink_param_value grew when U64 array parameters were added. Keeping union devlink_param_value val[4] in mlx5e_pcie_cong_get_thresh_config() exceeded the compiler's -Wframe-larger-than limit. Reuse one union: call devl_param_driverinit_value_get() once per MLX5 PCIe congestion threshold and assign each vu16 to the corresponding mlx5e_pcie_cong_thresh member. Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com> Link: https://patch.msgid.link/20260521095303.2395584-3-rkannoth@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions