mbox series

[net-next,0/2] add ip6erspan collect_md mode

Message ID 1512515745-21003-1-git-send-email-u9012063@gmail.com
Headers show
Series add ip6erspan collect_md mode | expand

Message

William Tu Dec. 5, 2017, 11:15 p.m. UTC
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(-)

Comments

David Miller Dec. 6, 2017, 7:45 p.m. UTC | #1
From: William Tu <u9012063@gmail.com>
Date: Tue,  5 Dec 2017 15:15:43 -0800

> 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

Series applied, thanks William.