netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] BPF update
@ 2015-07-15 12:21 Daniel Borkmann
  2015-07-15 12:21 ` [PATCH net-next 1/2] cls_cgroup: factor out classid retrieval Daniel Borkmann
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Borkmann @ 2015-07-15 12:21 UTC (permalink / raw)
  To: davem; +Cc: ast, netdev, Daniel Borkmann

This small helper allows for accessing net_cls cgroups classid. Please
see individual patches for more details.

Thanks!

Daniel Borkmann (2):
  cls_cgroup: factor out classid retrieval
  ebpf: add helper to retrieve net_cls cgroup id

 include/net/cls_cgroup.h | 29 +++++++++++++++++++++++++++++
 include/uapi/linux/bpf.h |  7 +++++++
 net/core/filter.c        | 15 +++++++++++++++
 net/sched/cls_cgroup.c   | 23 ++---------------------
 4 files changed, 53 insertions(+), 21 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH net-next 0/2] BPF update
@ 2016-01-11  0:16 Daniel Borkmann
  2016-01-11 22:33 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Borkmann @ 2016-01-11  0:16 UTC (permalink / raw)
  To: davem; +Cc: alexei.starovoitov, tgraf, netdev, Daniel Borkmann

This set adds IPv6 support for bpf_skb_{set,get}_tunnel_key() helper.
It also exports flags to user space that are being used in helpers and
weren't exported thus far. For more details, please see the individual
patches.

Thanks!

Daniel Borkmann (2):
  bpf: export helper function flags and reject invalid ones
  bpf: support ipv6 for bpf_skb_{set,get}_tunnel_key

 include/uapi/linux/bpf.h |  26 +++++++++++-
 net/core/filter.c        | 106 +++++++++++++++++++++++++++++++++++++----------
 2 files changed, 110 insertions(+), 22 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2016-01-11 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15 12:21 [PATCH net-next 0/2] BPF update Daniel Borkmann
2015-07-15 12:21 ` [PATCH net-next 1/2] cls_cgroup: factor out classid retrieval Daniel Borkmann
2015-07-15 12:21 ` [PATCH net-next 2/2] ebpf: add helper to retrieve net_cls's classid cookie Daniel Borkmann
2015-07-15 21:06   ` Alexei Starovoitov
2015-07-20 19:41 ` [PATCH net-next 0/2] BPF update David Miller
  -- strict thread matches above, loose matches on Subject: below --
2016-01-11  0:16 Daniel Borkmann
2016-01-11 22:33 ` 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).