Manoj Nayak wrote:
> Any Solaris driver in OpenSolaris code base using zero copy ?
>
Zero copy from userland is handled by the framework.
"Zero copy" to from the device itself is done by the driver, and many
NICs do this, although practical experience has shown that on modern
hardware the cost of setup and tear down for zero copy (direct DMA)
costs more than it takes to just bcopy an ethernet size frame. (Jumbo
Frames are entirely a different story, however.)
Look at "hme" if you want an example... its kind of ugly, but it gets
the job done.
-- Garrett
> _______________________________________________
> networking-discuss mailing list
> [email protected]
>
_______________________________________________
networking-discuss mailing list
[email protected]