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
mlx4: use is_power_of_2 Tags None Referenced Files None Subscribers None
Description
Details
|