Re: [PATCH 4/6] myri10ge - First half of the driver

From: David S. Miller
Date: Fri May 12 2006 - 13:40:23 EST


From: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
Date: Fri, 12 May 2006 10:47:11 +0400

> On Fri, May 12, 2006 at 01:53:44AM +0200, Brice Goglin (brice@xxxxxxxx) wrote:
> > > Imho you will want to work directly with pages shortly.
> > >
> >
> > We had thought about doing this, but were a little nervous since we did
> > not know of any other drivers that worked directly with pages. If this
> > is an official direction to work directly with pages, we will.
>
> s2io does. e1000 does it with skb frags.
> If your hardware allows header split and driver can put headers into
> skb->data and real data into frag_list, that allows to create various
> interesting things like receiving zero-copy support and netchannels
> support. It is work in progress, not official direction currently,
> but this definitely will help your driver to support future high
> performance extensions.

The most important impact is not having to use order 1 pages
for jumbo MTU frames, which are more likely to fail allocations
thant order 0 pages under heavy load.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/