netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
To: Johann Baudy <johann.baudy-1YmjpbiIw0bR7s880joybQ@public.gmane.org>
Cc: Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Herbert Xu
	<herbert-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org>,
	"David S. Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
	Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>,
	jamal <hadi-fAAogVwAN2Kw5LPnMra/2Q@public.gmane.org>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>,
	Evgeniy Polyakov <zbr-i6C2adt8DTjR7s880joybQ@public.gmane.org>,
	mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] TX_RING and packet mmap
Date: Tue, 12 May 2009 20:15:20 +0200	[thread overview]
Message-ID: <20090512181520.GL19296@one.firstfloor.org> (raw)
In-Reply-To: <7e0dd21a0905121058m1f894de6q9805e5392aef3aea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

-Andi

> 
> Johann
> 
> 
> On Tue, May 12, 2009 at 6:11 PM, Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org> wrote:
> 
> > Johann Baudy <johann.baudy-1YmjpbiIw0bR7s880joybQ@public.gmane.org> writes:
> >
> > > From: Johann Baudy <johann.baudy-1YmjpbiIw0bR7s880joybQ@public.gmane.org>
> > >
> > > 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-VuQAYsv1563Yd54FQh9/CA@public.gmane.org -- Speaking for myself only.
> >

-- 
ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-05-12 18:15 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 21:21 [PATCH] TX_RING and packet mmap Johann Baudy
2009-05-12 16:11 ` Andi Kleen
     [not found]   ` <7e0dd21a0905121058m1f894de6q9805e5392aef3aea@mail.gmail.com>
2009-05-12 18:00     ` Johann Baudy
     [not found]     ` <7e0dd21a0905121058m1f894de6q9805e5392aef3aea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-12 18:15       ` Andi Kleen [this message]
2009-05-19  5:12 ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-05-05 21:38 Johann Baudy
2009-05-06  7:07 ` Jarek Poplawski
2009-05-06  9:38   ` Jarek Poplawski
2009-05-09 20:31 ` David Miller
2009-04-26 13:06 Johann Baudy
2009-04-29  9:18 ` Evgeniy Polyakov
2009-04-30 20:17   ` Johann Baudy
2009-04-02 19:48 Johann Baudy
2009-04-07  7:26 ` Herbert Xu
2009-04-07 12:48   ` jamal
2009-04-07 13:04     ` Herbert Xu
2009-04-07 13:47       ` jamal
2009-04-07 14:17         ` Herbert Xu
2009-04-07 14:40         ` Johann Baudy
     [not found]         ` <7e0dd21a0904070738jd8a2714wd840352699f1e9f1@mail.gmail.com>
2009-04-07 20:56           ` jamal
2009-04-07 21:11             ` Evgeniy Polyakov
2009-04-08 21:06               ` Johann Baudy
2009-04-12 10:27                 ` Johann Baudy
2009-04-12 10:32                   ` Evgeniy Polyakov
2009-04-12 11:23                     ` Johann Baudy
2009-04-12 14:24                       ` Evgeniy Polyakov
2009-04-12 19:27                         ` Johann Baudy
2009-04-12 19:52                           ` Evgeniy Polyakov
2009-04-12 20:30                             ` Johann Baudy
2009-04-12 20:53                               ` Evgeniy Polyakov
2009-04-12 23:31                                 ` Johann Baudy
2009-04-15  7:10                                   ` Evgeniy Polyakov
2009-04-15 13:14                                     ` Johann Baudy
2009-04-16 11:16                                       ` Evgeniy Polyakov
2009-04-18 21:38                                         ` Johann Baudy
2009-04-21  9:41                                           ` Evgeniy Polyakov
2009-04-21 13:16                                             ` Johann Baudy
2009-04-21 13:56                                               ` Evgeniy Polyakov
2009-04-08  6:51           ` Herbert Xu
2009-04-21 15:36 ` Christoph Lameter
2009-04-21 20:13   ` Johann Baudy
2009-04-21 20:42     ` Christoph Lameter
2009-04-21 21:00       ` Johann Baudy
2009-04-21 21:00         ` Christoph Lameter
2009-04-21 21:13           ` Johann Baudy
2009-04-21 20:46     ` Johann Baudy
2009-04-21 20:43       ` Christoph Lameter
2009-04-21 21:05         ` Johann Baudy
2009-04-21 21:08           ` Christoph Lameter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090512181520.GL19296@one.firstfloor.org \
    --to=andi-vw/nlti1exurpaaqcnn02g@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=hadi-fAAogVwAN2Kw5LPnMra/2Q@public.gmane.org \
    --cc=herbert-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org \
    --cc=johann.baudy-1YmjpbiIw0bR7s880joybQ@public.gmane.org \
    --cc=kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=zbr-i6C2adt8DTjR7s880joybQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).