diff options
author | 2018-06-28 14:41:37 -0700 | |
---|---|---|
committer | 2018-07-01 01:01:50 +0200 | |
commit | 9aba36139a5f9ee1d11a60d0a3a90944b8d56385 (patch) | |
tree | 5af0a8406c86a3b9c2e494ab1db58bb4456892ed /tools/bpf/bpftool/main.c | |
parent | tools: libbpf: add section names for missing program types (diff) | |
download | wireguard-linux-9aba36139a5f9ee1d11a60d0a3a90944b8d56385.tar.xz wireguard-linux-9aba36139a5f9ee1d11a60d0a3a90944b8d56385.zip |
tools: libbpf: allow setting ifindex for programs and maps
Users of bpf_object__open()/bpf_object__load() APIs may want to
load the programs and maps onto a device for offload. Allow
setting ifindex on those sub-objects.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/main.c')
0 files changed, 0 insertions, 0 deletions