diff options
| author | Jakub Kicinski <[email protected]> | 2018-06-28 21:41:37 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-06-30 23:01:50 +0000 |
| commit | 9aba36139a5f9ee1d11a60d0a3a90944b8d56385 (patch) | |
| tree | 5af0a8406c86a3b9c2e494ab1db58bb4456892ed /tools/bpf/bpftool/prog.c | |
| parent | tools: libbpf: add section names for missing program types (diff) | |
| download | kernel-9aba36139a5f9ee1d11a60d0a3a90944b8d56385.tar.gz kernel-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 <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
