netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] eBPF updates
@ 2015-03-14  1:27 Daniel Borkmann
  2015-03-14  1:27 ` [PATCH net-next v2 1/2] ebpf: add prandom helper for packet sampling Daniel Borkmann
  2015-03-14  1:27 ` [PATCH net-next v2 2/2] ebpf: add helper for obtaining current processor id Daniel Borkmann
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Borkmann @ 2015-03-14  1:27 UTC (permalink / raw)
  To: davem; +Cc: ast, netdev, Daniel Borkmann

Two small eBPF helper additions to better match up with ancillary
classic BPF functionality.

Daniel Borkmann (2):
  ebpf: add prandom helper for packet sampling
  ebpf: add helper for obtaining current processor id

 include/linux/bpf.h      |  3 +++
 include/uapi/linux/bpf.h |  2 ++
 kernel/bpf/core.c        |  3 +++
 kernel/bpf/helpers.c     | 24 ++++++++++++++++++++++++
 net/core/filter.c        |  4 ++++
 5 files changed, 36 insertions(+)

-- 
1.9.3

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

end of thread, other threads:[~2015-03-14  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-14  1:27 [PATCH net-next v2 0/2] eBPF updates Daniel Borkmann
2015-03-14  1:27 ` [PATCH net-next v2 1/2] ebpf: add prandom helper for packet sampling Daniel Borkmann
2015-03-14  1:27 ` [PATCH net-next v2 2/2] ebpf: add helper for obtaining current processor id Daniel Borkmann

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