lkml.org 
[lkml]   [1999]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDoubt on sk_buff


Hi

I have a doubt relate to sk_buff in LINUX.

Doubt is :

When data is recived from the Ethernet adapter, it has to be give
to IP is the sk_buff format.

The data received is already in a buffer. Now my question is,
Can i create a sk_buff with size ZERO and then attach the buffer
with the data to it ( update the length field ).

I want to avoid data copying from one buffer to another in the receive flow,
for better performance.

Is there any other method.

Thanks in advance

prasad





-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.061 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site