Garrett D'Amore wrote:
> In a word: Yes.
> 
> I don't know enough about the chipset., but I'd probably allocate more
> than 2, even, since you might be passed down a packet chain and don't
> want to have to putbq() the packets (or have GLDv3 do so for you). 
> Although, pcnet isn't going to be fast in any case. :-)  You have room
> for 40 1600 byte frames (not including descriptor overhead) -- I'd
> configure 16 frames in each direction -- experience with other NIC
> drivers has shown that such a configuration works well.  If that's too
> many, maybe do 16 rx and 8 tx.

That makes much more sense. The chipset uses 256 byte alignment, so
there could be a pretty fair bit of overhead for smaller packet chains.

That said, would it make sense to use scatter/gather on the tx side, or
should I just treat it as a typical ring?


Steve
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to