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
mlx4_ib_ah.c
mlx4_ib_alias_GUID.c
mlx4_ib_cm.c
mlx4_ib_cq.c
mlx4_ib_doorbell.c
mlx4_ib_mad.c
mlx4_ib_main.c
mlx4_ib_mcg.c
mlx4_ib_mr.c
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
mlx4_ib_sysfs.c
mlx4_ib_wc.c
wc.h