Info on SKbuf....

From: Raj, Ashok (ashok.raj@intel.com)
Date: Wed Apr 19 2000 - 14:34:12 EST


Hello.

in network drivers when processing receive packets, when this is handed to
upper layers what i have noticed is

driver allocates skbuf, copies data and returns to upper layer calling
netif_rx(). After consumption seems that that is returned back to the free
pool. Are there any implementations that allow returning the skbuf back to
the driver for reclamation? for some interfaces that needs registration of
data buffer with hw NIC, providing an implementation like this would allow
zero copy transfers, so the driver could reuse its registered skbuf, over
and over again. Since the tcp stack
above would anyway copy from the one the driver passes up.

are there any existing implementations available in linux? or does this
mechanism already exist and iam not looking at the right source? iam looking
at redhat 6.1 which is 2.2.12-20 i think.

thanks for any info
ashokr

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:15 EST