On Sat, Mar 16, 2002 at 01:37:12AM +0100, Andi Kleen wrote:
> On Fri, Mar 15, 2002 at 02:15:22PM -0500, Mark Wisner wrote:
> > I am working on a change to the IBM 405 Ethernet driver. The Ethernet
>
> What is an IBM 405?
An embedded PPC chip, with the ethernet built into the chip.
> Only when you don't want to support TCP. TCP will always reallocate and copy
> list linked packets currently.
> frag_list is purely a hack to handle fragmented packets for UDP and RAW.
>
> Instead you should use the skb data array (skb_shinfo()->frags) and fill
> it with page sized chunks.
> Documentation on how to use that is unfortunately a bit scarce, you'll need
> to do some RTFS.
Well I still have not seen any ethernet card do this. Even though it seems
that the hardware would support it. This could be a big help for jumbo frames
with GigE.
So if you suggest to use ->frags should the skb->data be left alone?
I can see no way off knowing ahead of time wether the ptr's giving to
hardware for a rx will be used for the start of a packet.
|