opnsense-src/sys/dev/mlx4/mlx4_ib
Doug Moore c44fbfdb56 roundup_pow_of_two: don't take the log of it
Based on the definitions, ilog2(roundup_pow_of_two(x)) ==
order_base_2(x). Replace the former with the latter in a few places to
save a few calculations.

Reviewed by:	bz, kib
Differential Revision:	https://reviews.freebsd.org/D46827
2024-09-28 12:00:06 -05:00
..
mlx4_ib.h Mechanically convert mlx4(4) to IfAPI 2023-02-07 14:16:11 -05:00
mlx4_ib_ah.c Mechanically convert mlx4(4) to IfAPI 2023-02-07 14:16:11 -05:00
mlx4_ib_alias_GUID.c
mlx4_ib_cm.c
mlx4_ib_cq.c mlx4: Remove unused variables. 2022-04-08 17:25:13 -07:00
mlx4_ib_doorbell.c
mlx4_ib_mad.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mlx4_ib_main.c mlx4: Finish conversion to IfAPI 2023-02-14 10:21:19 -05:00
mlx4_ib_mcg.c
mlx4_ib_mr.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mlx4_ib_qp.c roundup_pow_of_two: don't take the log of it 2024-09-28 12:00:06 -05:00
mlx4_ib_srq.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mlx4_ib_sysfs.c
mlx4_ib_wc.c
wc.h