> preallocate the receive sk_buffs and reuse them so that I don't have to allocate
> the sk_buffs dynamically. Is there a mechanism, by which the driver can own the 
> sk_buffs, and reuse the same sk_buff after the protocol stack is done with the
> processing of the data? Also, is there a mechanisam by which the driver could
> be notified, once the data processing is over(On windows they have a
> ReturnPacket call back function for this purpose)?

The lifetime of an sk_buff is undefined and could be considerable so there
doesn't seem much point. Buffer recycling should only be needed on an OS
where the main allocator is too slow. 

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to