opnsense-src/sys/dev/mana
Doug Moore 65c4ec887e gdma: use ispower2
It's faster to use ispower2(n) than it is to compute
roundup_pow_of_two and do a comparison.  So do the former.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D46838
2024-09-28 16:17:03 -05:00
..
gdma.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gdma_main.c gdma: use ispower2 2024-09-28 16:17:03 -05:00
gdma_util.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gdma_util.h log2: move log2 functions from linuxkpi to libkern 2024-06-24 02:00:31 -05:00
hw_channel.c mana: Stop checking for failures from malloc/mallocarray/buf_ring_alloc(M_WAITOK) 2024-09-03 18:25:30 +08:00
hw_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mana.h mana: Fix TX CQE error handling 2024-01-17 09:25:26 +00:00
mana_en.c mana: Stop checking for failures from malloc/mallocarray/buf_ring_alloc(M_WAITOK) 2024-09-03 18:25:30 +08:00
mana_sysctl.c mana: Fix TX CQE error handling 2024-01-17 09:25:26 +00:00
mana_sysctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
shm_channel.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
shm_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00