diff options
| author | Jakub Kicinski <[email protected]> | 2021-11-18 21:13:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-18 21:13:16 +0000 |
| commit | 50fc24944a2a0ef5aab571dcac17f6c5f2613f56 (patch) | |
| tree | 32477b48cc10073e948eb7b85877dc5a0746749d /tools/lib/bpf/bpf_gen_internal.h | |
| parent | Merge branch 'lan78xx-napi' (diff) | |
| parent | Merge tag 'net-5.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff) | |
| download | kernel-50fc24944a2a0ef5aab571dcac17f6c5f2613f56.tar.gz kernel-50fc24944a2a0ef5aab571dcac17f6c5f2613f56.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_gen_internal.h')
| -rw-r--r-- | tools/lib/bpf/bpf_gen_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/bpf/bpf_gen_internal.h b/tools/lib/bpf/bpf_gen_internal.h index 75ca9fb857b2..cc486a77db65 100644 --- a/tools/lib/bpf/bpf_gen_internal.h +++ b/tools/lib/bpf/bpf_gen_internal.h @@ -47,8 +47,8 @@ struct bpf_gen { int nr_fd_array; }; -void bpf_gen__init(struct bpf_gen *gen, int log_level); -int bpf_gen__finish(struct bpf_gen *gen); +void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); +int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps); void bpf_gen__free(struct bpf_gen *gen); void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size); void bpf_gen__map_create(struct bpf_gen *gen, struct bpf_create_map_params *map_attr, int map_idx); |
