3. You might want to recycle rather than create/destroy mbuf tags.
I'm not creating/destroying tags, I'm creating/destroying dma maps
My understanding is that I need a dmamap for every buffer that I
need to send to the NIC, and in the transmit case, I might have several
buffers per packet (i.e. an mbuf list with all the packet fragments).
But I can't know ahead of time how many fragments will be in the chain,
so I can't really say "allocate this many dma maps for packet transmit."
Oh, right. Sorry- I should have looked a little closer.
BTW- this is the exact case that finally got Jason, after some years, to
If I ever resume working on wx, I'll be dma-busifying it also.
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message