diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-05-26 00:03:06 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-26 00:04:28 +0300 |
| commit | 0e235b105578389c85b5d0415bc076ed50cbd3f4 (patch) | |
| tree | d897f11904b5bc3fa34638e846a9b9df7c00abcf /include/uapi/linux | |
| parent | bfea46abf62b61ad587c217d2938e970d4993153 (diff) | |
| parent | d603517771d8e08a2d8fc9e1f7682ce393d3973a (diff) | |
| download | linux-0e235b105578389c85b5d0415bc076ed50cbd3f4.tar.xz | |
Merge branch 'octeontx2-af-npc-enhancements'
Ratheesh Kannoth says:
====================
octeontx2-af: npc: Enhancements. [part]
Patch 1 reduces stack usage in mlx5e_pcie_cong_get_thresh_config()
by reusing a single union devlink_param_value across four
devl_param_driverinit_value_get() calls (instead of
union devlink_param_value val[4] on the stack) and assigning each
vu16 into mlx5e_pcie_cong_thresh, so the helper stays under the
frame-size warning limit as the union grows.
Patch 2 changes devlink_nl_param_value_put() and
devlink_nl_param_value_fill_one() to pass union devlink_param_value
by pointer instead of by value. Passing two copies of the union
by value in the param netlink path consumes over 500 bytes of argument
stack and risks CONFIG_FRAME_WARN as the union grows beyond its
historical size.
====================
Picking a couple of uncontroversial changes from the series
since it's making very slow progress.
Link: https://patch.msgid.link/20260521095303.2395584-1-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
