netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Tu <u9012063@gmail.com>
To: netdev@vger.kernel.org
Subject: [PATCH net-next 0/2] add ip6erspan collect_md mode
Date: Tue,  5 Dec 2017 15:15:43 -0800	[thread overview]
Message-ID: <1512515745-21003-1-git-send-email-u9012063@gmail.com> (raw)

Similar to erspan collect_md mode in ipv4, the first patch adds
support for ip6erspan collect metadata mode.  The second patch
adds the test case using bpf_skb_[gs]et_tunnel_key helpers.

The corresponding iproute2 patch:
https://marc.info/?l=linux-netdev&m=151251545410047&w=2

William Tu (2):
  ip6_gre: add ip6 erspan collect_md mode
  samples/bpf: add ip6erspan sample code

 net/ipv6/ip6_gre.c             | 110 +++++++++++++++++++++++++++++++----------
 samples/bpf/tcbpf2_kern.c      |  58 ++++++++++++++++++++++
 samples/bpf/test_tunnel_bpf.sh |  37 ++++++++++++++
 3 files changed, 180 insertions(+), 25 deletions(-)

-- 
2.7.4

             reply	other threads:[~2017-12-05 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 23:15 William Tu [this message]
2017-12-05 23:15 ` [PATCH net-next 1/2] ip6_gre: add ip6 erspan collect_md mode William Tu
2017-12-05 23:15 ` [PATCH net-next 2/2] samples/bpf: add ip6erspan sample code William Tu
2017-12-06 19:45 ` [PATCH net-next 0/2] add ip6erspan collect_md mode 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=1512515745-21003-1-git-send-email-u9012063@gmail.com \
    --to=u9012063@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).