7e9024cdd9
large to huge amounts of small or medium sized receive buffers. The problem with these situations is that they eat up the available DMA address space very quickly when using mbufs or even mbuf clusters. Additionally this facility provides a direct mapping between 32-bit integers and these buffers. This is needed for devices originally designed for 32-bit systems. Ususally the virtual address of the buffer is used as a handle to find the buffer as soon as it is returned by the card. This does not work for 64-bit machines and hence this mapping is needed.
20 lines
263 B
Makefile
20 lines
263 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../kern
|
|
|
|
KMOD= libmbpool
|
|
SRCS= subr_mbpool.c
|
|
|
|
EXPORT_SYMS= mbp_create \
|
|
mbp_destroy \
|
|
mbp_alloc \
|
|
mbp_free \
|
|
mbp_ext_free \
|
|
mbp_card_free \
|
|
mbp_count \
|
|
mbp_get \
|
|
mbp_get_keep \
|
|
mbp_sync
|
|
|
|
.include <bsd.kmod.mk>
|