[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090512181520.GL19296@one.firstfloor.org>
Date: Tue, 12 May 2009 20:15:20 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Johann Baudy <johann.baudy@...-log.net>
Cc: Andi Kleen <andi@...stfloor.org>, netdev@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Patrick McHardy <kaber@...sh.net>, jamal <hadi@...erus.ca>,
Christoph Lameter <cl@...ux.com>,
Evgeniy Polyakov <zbr@...emap.net>, mtk.manpages@...il.com,
linux-man@...r.kernel.org
Subject: Re: [PATCH] TX_RING and packet mmap
[full quote for linux-man, Michael]
On Tue, May 12, 2009 at 07:58:06PM +0200, Johann Baudy wrote:
> Hi Andi,
>
> Currently, There is nothing in the manpage of packet(7) about RX_RING.
Yes mmap was never documented. But if you could do that that would
be great.
> However I can start to write a summary that describes processes, headers
> and statuses of both feature (RX_RING and TX_RING).
> I think "Socket Options" section of packet(7) is appropriate.
Sounds good. Please send the result to linux-man@...r.kernel.org
-Andi
>
> Johann
>
>
> On Tue, May 12, 2009 at 6:11 PM, Andi Kleen <andi@...stfloor.org> wrote:
>
> > Johann Baudy <johann.baudy@...-log.net> writes:
> >
> > > From: Johann Baudy <johann.baudy@...-log.net>
> > >
> > > New packet socket feature that makes packet socket more efficient for
> > transmission.
> > > - It reduces number of system call through a PACKET_TX_RING mechanism,
> > based on PACKET_RX_RING (Circular buffer allocated in kernel space which is
> > mmapped from user space).
> > > - It minimizes CPU copy using fragmented SKB (almost zero copy).
> >
> > When you add new interfaces like this you should add them to the packet (7)
> > manpage too.
> >
> > -Andi
> >
> > --
> > ak@...ux.intel.com -- Speaking for myself only.
> >
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists