diff options
| author | Lama Kayal <[email protected]> | 2025-07-21 07:13:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-23 01:20:14 +0000 |
| commit | bc2d44b83f2b333719560740068663a2b405deaf (patch) | |
| tree | 77e22190d224a8c7a8754fa37e65aa7129536d76 /drivers/fpga/versal-fpga.c | |
| parent | tcp: trace retransmit failures in tcp_retransmit_skb (diff) | |
| download | kernel-bc2d44b83f2b333719560740068663a2b405deaf.tar.gz kernel-bc2d44b83f2b333719560740068663a2b405deaf.zip | |
net/mlx5e: SHAMPO, Cleanup reservation size formula
The reservation size formula can be reduced to a simple evaluation of
MLX5E_SHAMPO_WQ_RESRV_SIZE. This leaves mlx5e_shampo_get_log_rsrv_size()
with one single use, which can be replaced with a macro for simplicity.
Also, function mlx5e_shampo_get_log_rsrv_size() is used only throughout
params.c, make it static.
Signed-off-by: Lama Kayal <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
