opnsense-src/sys/dev/mlx4/mlx4_en
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
..
en.h roundup_pow_of_two: don't take the log of it 2024-09-28 12:00:06 -05:00
en_port.h Update the mlx4 core and mlx4en(4) modules towards Linux v4.9. 2017-11-15 11:14:39 +00:00
mlx4_en_cq.c mlx4en: Remove the DRBR and associated logic in the transmit path. 2018-12-05 13:31:45 +00:00
mlx4_en_main.c mlx4: rename conflicting netdev_priv() to mlx4_netdev_priv() 2021-10-25 20:12:32 +00:00
mlx4_en_netdev.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
mlx4_en_port.c Mechanically convert mlx4(4) to IfAPI 2023-02-07 14:16:11 -05:00
mlx4_en_resources.c Mechanically convert mlx4(4) to IfAPI 2023-02-07 14:16:11 -05:00
mlx4_en_rx.c Mechanically convert mlx4(4) to IfAPI 2023-02-07 14:16:11 -05:00
mlx4_en_tx.c mlx4, mlx5: Eliminate redundent NULL check for packet filter 2024-05-28 12:46:04 +08:00