From: David Miller <davem@davemloft.net>
To: loke.chetan@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next v5 2/2] af-packet: TPACKET_V3 flexible buffer implementation.
Date: Wed, 24 Aug 2011 19:43:15 -0700 (PDT) [thread overview]
Message-ID: <20110824.194315.517049778318408046.davem@davemloft.net> (raw)
In-Reply-To: <1313785096-911-3-git-send-email-loke.chetan@gmail.com>
From: Chetan Loke <loke.chetan@gmail.com>
Date: Fri, 19 Aug 2011 16:18:16 -0400
> 1) Blocks can be configured with non-static frame-size.
> 2) Read/poll is at a block-level(as opposed to packet-level).
> 3) Added poll timeout to avoid indefinite user-space wait on idle links.
> 4) Added user-configurable knobs:
> 4.1) block::timeout.
> 4.2) tpkt_hdr::sk_rxhash.
>
>
> Changes:
> C1) tpacket_rcv()
> C1.1) packet_current_frame() is replaced by packet_current_rx_frame()
> The bulk of the processing is then moved in the following chain:
> packet_current_rx_frame()
> __packet_lookup_frame_in_block
> fill_curr_block()
> or
> retire_current_block
> dispatch_next_block
> or
> return NULL(queue is plugged/paused)
>
> Signed-off-by: Chetan Loke <loke.chetan@gmail.com>
Applied.
prev parent reply other threads:[~2011-08-25 2:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 20:18 [PATCH net-next v5 0/2] af-packet: Enhance af-packet to provide a flexible mmap ring buffer scheme Chetan Loke
2011-08-19 20:18 ` [PATCH net-next v5 1/2] af-packet: Added TPACKET_V3 headers Chetan Loke
2011-08-25 2:43 ` David Miller
2011-08-25 12:58 ` chetan loke
2011-08-19 20:18 ` [PATCH net-next v5 2/2] af-packet: TPACKET_V3 flexible buffer implementation Chetan Loke
2011-08-25 2:43 ` David Miller [this message]
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=20110824.194315.517049778318408046.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=loke.chetan@gmail.com \
--cc=netdev@vger.kernel.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).