[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180628214142.11268-1-jakub.kicinski@netronome.com>
Date: Thu, 28 Jun 2018 14:41:34 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: alexei.starovoitov@...il.com, daniel@...earbox.net
Cc: oss-drivers@...ronome.com, netdev@...r.kernel.org,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH bpf-next 0/8] tools: bpf: updates to bpftool and libbpf
Hi!
Set of random updates to bpftool and libbpf. I'm preparing for
extending bpftool prog load, but there is a good number of
improvements that can be made before bpf -> bpf-next merge
helping to keep the later patch set to a manageable size as well.
First patch is a bpftool build speed improvement. Next missing
program types are added to libbpf program type detection by section
name. The ability to load programs from '.text' section is restored
when ELF file doesn't contain any pseudo calls.
In bpftool I remove my Author comments as unnecessary sign of vanity.
Last but not least missing option is added to bash completions and
processing of options in bash completions is improved.
Jakub Kicinski (8):
tools: bpftool: use correct make variable type to improve compilation
time
tools: libbpf: add section names for missing program types
tools: libbpf: allow setting ifindex for programs and maps
tools: libbpf: restore the ability to load programs from .text section
tools: libbpf: don't return '.text' as a program for multi-function
programs
tools: bpftool: drop unnecessary Author comments
tools: bpftool: add missing --bpffs to completions
tools: bpftool: deal with options upfront
tools/bpf/bpftool/Makefile | 2 +-
tools/bpf/bpftool/bash-completion/bpftool | 32 ++++++++++-----
tools/bpf/bpftool/common.c | 2 -
tools/bpf/bpftool/main.c | 4 +-
tools/bpf/bpftool/main.h | 2 -
tools/bpf/bpftool/map.c | 2 -
tools/bpf/bpftool/prog.c | 4 +-
tools/lib/bpf/libbpf.c | 49 ++++++++++++++++++-----
tools/lib/bpf/libbpf.h | 2 +
9 files changed, 66 insertions(+), 33 deletions(-)
--
2.17.1
Powered by blists - more mailing lists