1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00
freebsd/sys/dev/mlx4
Doug Moore 3873b9a8b3 mlx4: use is_power_of_2
It's faster to use is_power_of_2 than it is to compute
roundup_power_of_two and then compare.  So do that.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D46838
2024-09-28 16:23:17 -05:00
..
mlx4_core mlx4: use is_power_of_2 2024-09-28 16:23:17 -05:00
mlx4_en roundup_pow_of_two: don't take the log of it 2024-09-28 12:00:06 -05:00
mlx4_ib roundup_pow_of_two: don't take the log of it 2024-09-28 12:00:06 -05:00
cmd.h
cq.h
device.h
doorbell.h
driver.h
qp.h
srq.h
stats.h