aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorLama Kayal <[email protected]>2025-07-21 07:13:17 +0000
committerJakub Kicinski <[email protected]>2025-07-23 01:20:14 +0000
commitbc2d44b83f2b333719560740068663a2b405deaf (patch)
tree77e22190d224a8c7a8754fa37e65aa7129536d76 /drivers/usb/cdns3/cdns3-trace.h
parenttcp: trace retransmit failures in tcp_retransmit_skb (diff)
downloadkernel-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/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions