netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] gre: add collect_md mode for ERSPAN tunnel
@ 2017-08-25 16:21 William Tu
  2017-08-25 16:21 ` [PATCH net-next 1/3] gre: refactor the gre_fb_xmit William Tu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: William Tu @ 2017-08-25 16:21 UTC (permalink / raw)
  To: netdev

This patch series provide collect_md mode for ERSPAN tunnel.  The fist patch
refactors the existing gre_fb_xmit function by exacting the route cache
portion into a new function called prepare_fb_xmit.  The second patch
introduces the collect_md mode for ERSPAN tunnel, by calling the
prepare_fb_xmit function and adding ERSPAN specific logic.  The final patch
adds the test case using bpf_skb_{set,get}_tunnel_{key,opt}.

Thank you

William Tu (3):
  gre: refactor the gre_fb_xmit
  gre: add collect_md mode to ERSPAN tunnel
  samples/bpf: extend test_tunnel_bpf.sh with ERSPAN

 include/net/ip_tunnels.h       |   4 +-
 net/ipv4/ip_gre.c              | 157 ++++++++++++++++++++++++++++++++++++-----
 samples/bpf/tcbpf2_kern.c      |  63 ++++++++++++++++-
 samples/bpf/test_tunnel_bpf.sh |  29 ++++++++
 4 files changed, 232 insertions(+), 21 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-28 22:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 16:21 [PATCH net-next 0/3] gre: add collect_md mode for ERSPAN tunnel William Tu
2017-08-25 16:21 ` [PATCH net-next 1/3] gre: refactor the gre_fb_xmit William Tu
2017-08-25 16:21 ` [PATCH net-next 2/3] gre: add collect_md mode to ERSPAN tunnel William Tu
2017-08-25 16:21 ` [PATCH net-next 3/3] samples/bpf: extend test_tunnel_bpf.sh with ERSPAN William Tu
2017-08-28 22:06 ` [PATCH net-next 0/3] gre: add collect_md mode for ERSPAN tunnel David Miller

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).