netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] libbpf: Add new interfaces
@ 2019-02-14 23:01 Andrey Ignatov
  2019-02-14 23:01 ` [PATCH bpf-next 1/2] libbpf: Introduce bpf_map__resize Andrey Ignatov
  2019-02-14 23:01 ` [PATCH bpf-next 2/2] libbpf: Introduce bpf_object__btf Andrey Ignatov
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Ignatov @ 2019-02-14 23:01 UTC (permalink / raw)
  To: netdev; +Cc: Andrey Ignatov, ast, daniel, kernel-team

The patch set adds a couple of new interfaces to libbpf:

Patch 1 adds bpf_map__resize() to resize map before loading bpf_object;
Patch 2 adds bpf_object__btf() to get struct btf * from bpf_object__btf.


Andrey Ignatov (2):
  libbpf: Introduce bpf_map__resize
  libbpf: Introduce bpf_object__btf

 tools/lib/bpf/libbpf.c   | 19 +++++++++++++++++++
 tools/lib/bpf/libbpf.h   |  4 ++++
 tools/lib/bpf/libbpf.map |  2 ++
 3 files changed, 25 insertions(+)

-- 
2.17.1


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

end of thread, other threads:[~2019-02-15 14:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-14 23:01 [PATCH bpf-next 0/2] libbpf: Add new interfaces Andrey Ignatov
2019-02-14 23:01 ` [PATCH bpf-next 1/2] libbpf: Introduce bpf_map__resize Andrey Ignatov
2019-02-15  1:52   ` Yonghong Song
2019-02-14 23:01 ` [PATCH bpf-next 2/2] libbpf: Introduce bpf_object__btf Andrey Ignatov
2019-02-15  1:53   ` Yonghong Song
2019-02-15 14:23     ` 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).