opnsense-src/sys/dev/mana
Wei Hu 5c97b7c296 mana: refill the rx mbuf in batch
Set the default refill threshod to be one quarter of the rx queue
length. User can change this value with hw.mana.rx_refill_thresh
in loader.conf. It improves the rx completion handling by saving
10% to 15% of overall time with this change.

Tested by:	whu
MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit 9b8701b81f14f0fa0787425eb9761b765d5faab0)
2025-03-12 09:09:32 +00:00
..
gdma.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gdma_main.c Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
gdma_util.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gdma_util.h log2: move log2 functions from linuxkpi to libkern 2025-02-10 04:29:23 -06:00
hw_channel.c mana: Stop checking for failures from malloc/mallocarray/buf_ring_alloc(M_WAITOK) 2024-09-30 12:44:24 +08:00
hw_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mana.h mana: refill the rx mbuf in batch 2025-03-12 09:09:32 +00:00
mana_en.c mana: refill the rx mbuf in batch 2025-03-12 09:09:32 +00:00
mana_sysctl.c mana: refill the rx mbuf in batch 2025-03-12 09:09:32 +00:00
mana_sysctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
shm_channel.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
shm_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00