opnsense-src/sys/dev/mlx5
Doug Moore 5a5da24fc8 mlx5: optimize ilog2 calculation
Rather than compute ilog2(roundup_pow_of_two(x)), which invokes ilog2
twice, just use order_base_2 once.  And employ that optimization
twice.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D46838
2024-09-28 16:24:44 -05:00
..
mlx5_accel mlx5en: Handle install SA for ipv6 encapsulated case 2024-09-22 19:06:02 +03:00
mlx5_core mlx5: Remove a less than helpful debug print 2024-08-12 23:06:01 +00:00
mlx5_en mlx5en: do now waste ipsec_accel_in_tag on non-ipsec packets rx 2024-08-20 15:42:12 +03:00
mlx5_fpga sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_fpga_tools sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_ib mlx5: optimize ilog2 calculation 2024-09-28 16:24:44 -05:00
mlx5_lib mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
cmd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cq.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
crypto.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
device.h dev/mlx5: remove some duplicated macros from device.h 2024-09-04 11:49:38 +03:00
diagnostics.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
doorbell.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
driver.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
fs.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
mlx5_ifc.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
mlx5_rdma_if.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5io.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mpfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
port.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
qp.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
srq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tls.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
vport.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00