netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: stephen@networkplumber.org
Cc: ast@kernel.org, netdev@vger.kernel.org,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH iproute2 -next v2 0/5] BPF updates
Date: Thu, 26 Nov 2015 15:38:41 +0100	[thread overview]
Message-ID: <cover.1448547199.git.daniel@iogearbox.net> (raw)

Some more updates on the BPF front-end to get further eBPF
functionality working with tc. See individual patches for
details. Targeted at iproute2's -next branch.

Thanks!

v1 -> v2:
 - fix minor stylistic nit spotted by Sergei

Daniel Borkmann (5):
  {f,m}_bpf: make tail calls working
  {f,m}_bpf: check map attributes when fetching as pinned
  {f,m}_bpf: allow for user-defined object pinnings
  {f,m}_bpf: allow updates on program arrays
  {f,m}_bpf: add more example code

 etc/iproute2/bpf_pinning    |   6 +
 examples/bpf/README         |  13 +
 examples/bpf/bpf_cyclic.c   |  32 ++
 examples/bpf/bpf_funcs.h    |  11 +
 examples/bpf/bpf_graft.c    |  70 +++++
 examples/bpf/bpf_tailcall.c | 115 +++++++
 include/bpf_elf.h           |   2 +-
 include/utils.h             |   4 +
 lib/rt_names.c              |   5 +-
 tc/e_bpf.c                  |  30 +-
 tc/tc_bpf.c                 | 708 +++++++++++++++++++++++++++++++++-----------
 tc/tc_bpf.h                 |   1 +
 12 files changed, 819 insertions(+), 178 deletions(-)
 create mode 100644 etc/iproute2/bpf_pinning
 create mode 100644 examples/bpf/README
 create mode 100644 examples/bpf/bpf_cyclic.c
 create mode 100644 examples/bpf/bpf_graft.c
 create mode 100644 examples/bpf/bpf_tailcall.c

-- 
1.9.3

             reply	other threads:[~2015-11-26 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26 14:38 Daniel Borkmann [this message]
2015-11-26 14:38 ` [PATCH iproute2 -next v2 1/5] {f,m}_bpf: make tail calls working Daniel Borkmann
2015-11-26 14:38 ` [PATCH iproute2 -next v2 2/5] {f,m}_bpf: check map attributes when fetching as pinned Daniel Borkmann
2015-11-26 14:38 ` [PATCH iproute2 -next v2 3/5] {f,m}_bpf: allow for user-defined object pinnings Daniel Borkmann
2015-11-26 14:38 ` [PATCH iproute2 -next v2 4/5] {f,m}_bpf: allow updates on program arrays Daniel Borkmann
2015-11-26 15:19   ` Hannes Frederic Sowa
2015-11-26 15:51     ` Daniel Borkmann
2015-11-26 14:38 ` [PATCH iproute2 -next v2 5/5] {f,m}_bpf: add more example code Daniel Borkmann
2015-11-29 19:56   ` Stephen Hemminger

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.1448547199.git.daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=ast@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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).