Garrett D'Amore wrote:
Without bcopy, you might have to allocate more IOMMU entries. Its a bigger problem on the rx path when you do loanup and buffer recycling (using esballoc), but even on the tx side, if you have a packet that is
Drivers only resort to loanup *BECAUSE THE SOLARIS MECHANISM TO GET A DMA ADDRESS SUCKS SO BADLY*. I apologize for shouting, but I simply cannot emphasize this enough! I'd love to make my Solaris driver like my drivers for *EVERY OTHER *NIX I SUPPORT* and eliminate loanup, and allocate rx buffers on the fly. Loanup sucks. But I cannot, because the DDI framework is so expensive. I'd gladly trade a little bit of DMA complexity like keeping track of page boundaries (which I have to deal with everywhere else) to eliminate the loanup complexity. If Brian is trying to fix it, please, please lets get out of the way and let him do it. Drew _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss