opnsense-src/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 Update the mlx4 core and mlx4en(4) modules towards Linux v4.9. 2017-11-15 11:14:39 +00:00
cq.h sys/dev/mlx[45]: fix uses of 1 << 31 2018-01-12 06:36:44 +00:00
device.h mlx4: Map core_clock page to user space only when allowed 2021-07-12 14:22:35 +02:00
doorbell.h
driver.h mlx4en: Add support for netdump. 2018-12-05 13:32:15 +00:00
qp.h sys/dev/mlx[45]: fix uses of 1 << 31 2018-01-12 06:36:44 +00:00
srq.h
stats.h Update the mlx4 core and mlx4en(4) modules towards Linux v4.9. 2017-11-15 11:14:39 +00:00