public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Sowmini Varadhan <sowmini.varadhan@oracle•com>
To: netdev@vger•kernel.org, sowmini.varadhan@oracle•com
Cc: daniel@iogearbox•net, willemb@google•com, davem@davemloft•net
Subject: [PATCH v3 net-next 0/2] TPACKET_V3 TX_RING support
Date: Tue,  3 Jan 2017 06:31:46 -0800	[thread overview]
Message-ID: <cover.1483452545.git.sowmini.varadhan@oracle.com> (raw)

This patch series allows an application to use a single PF_PACKET
descriptor and leverage the best implementations of TX_RING
and RX_RING that exist today.

Patch 1 adds the kernel/Documentation changes for TX_RING
support and patch2 adds the associated test case in selftests.

Changes since v2: additional sanity checks for setsockopt
input for TX_RING/TPACKET_V3. Refactored psock_tpacket.c
test code to avoid code duplication from V2.


Sowmini Varadhan (2):
  af_packet: TX_RING support for TPACKET_V3
  tools: test case for TPACKET_V3/TX_RING support

 Documentation/networking/packet_mmap.txt    |    9 ++-
 net/packet/af_packet.c                      |   39 +++++++++---
 tools/testing/selftests/net/psock_tpacket.c |   91 ++++++++++++++++++++++-----
 3 files changed, 111 insertions(+), 28 deletions(-)

             reply	other threads:[~2017-01-03 14:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 14:31 Sowmini Varadhan [this message]
2017-01-03 14:31 ` [PATCH v3 net-next 1/2] af_packet: TX_RING support for TPACKET_V3 Sowmini Varadhan
2017-01-03 15:57   ` Willem de Bruijn
2017-01-03 14:31 ` [PATCH v3 net-next 2/2] tools: test case for TPACKET_V3/TX_RING support Sowmini Varadhan
2017-01-03 15:57   ` Willem de Bruijn
2017-01-03 16:01 ` [PATCH v3 net-next 0/2] TPACKET_V3 TX_RING support David Miller

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=cover.1483452545.git.sowmini.varadhan@oracle.com \
    --to=sowmini.varadhan@oracle$(echo .)com \
    --cc=daniel@iogearbox$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=willemb@google$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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