All of lore.kernel.org
 help / color / mirror / Atom feed
* XDP/BPF C and python libraries?
@ 2017-07-21  5:53 Jakub Kicinski
  2017-07-21 10:22 ` Daniel Borkmann
  0 siblings, 1 reply; 11+ messages in thread
From: Jakub Kicinski @ 2017-07-21  5:53 UTC (permalink / raw)
  To: xdp-newbies

Hi!

I've been writing various cli programs and little tools to play with
XDP and maps lately (testing NFP map offload).  I have a simple CLI
for loading programs, setting XDP up and interacting with maps.  It's
based on libbpf from tools/ and the loader from samples/bpf.  I wonder
how do others perform basic map interactions?  Perhaps I'm approaching
the problem from the wrong side?  Is anyone working on command line
interface for simple update/dump/delete operations?

I think it's recommended to use bpffs, are there any tools for
interacting with it?

Are there any Python libraries which could take care of parsing ELF
files and poking maps?  My understanding is that BCC is not really the
tool for the job, because it's too high-level.  I don't want to compile
programs each time I want to load them.

On the kernel sources - I'm pretty sure this was discussed on netdev
but I forgot the conclusion :( - is it possible to move
samples/bpf/bpf_load.c in some form to libbpf?

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

end of thread, other threads:[~2017-08-05 19:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-21  5:53 XDP/BPF C and python libraries? Jakub Kicinski
2017-07-21 10:22 ` Daniel Borkmann
2017-07-21 22:37   ` Jakub Kicinski
2017-07-22  7:20     ` Jakub Kicinski
2017-07-23  5:35       ` Y Song
2017-07-23 23:54       ` Jakub Kicinski
2017-07-24  0:27         ` David Ahern
2017-07-24  1:00           ` Jakub Kicinski
2017-08-04 22:20       ` David Ahern
2017-08-05 16:40         ` Jakub Kicinski
2017-08-05 19:59           ` David Ahern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.