Yunsong (Roamer) Lu writes: > Tom Chen wrote: > > Is it better to use allocb( ) to re-create a new receive buffer instead? > No. Driver should wait to recycle buffers loaned up. > > You're suggested to look at the implementation in any of these drivers: > e1000g, xge, chxge, ixgb, nge.
Warning: those are all drivers integrated in ON. Unlike unbundled drivers, they may use ON private interfaces. Those aren't "secrets," but rather are interfaces that change quickly, lack documentation, and that are inappropriate for use outside of ON. If your driver is integrating in ON, then looking at those drivers would be good. It may be misleading if you're not integrating into ON. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ networking-discuss mailing list [email protected]
