diff options
author | Kevin Laatz <kevin.laatz@intel.com> | 2019-08-27 02:25:27 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-31 01:08:26 +0200 |
commit | 10d30e301732636d93d7dcd2e0e6cd34d0454509 (patch) | |
tree | a24726ccbccd1988bfe36129545b459acd03d07c /tools/lib/bpf/libbpf.map | |
parent | 282c0c798f8ec883c2ac2f1ce2dc06ef9421731c (diff) | |
download | linux-stable-10d30e301732636d93d7dcd2e0e6cd34d0454509.tar.gz linux-stable-10d30e301732636d93d7dcd2e0e6cd34d0454509.tar.bz2 linux-stable-10d30e301732636d93d7dcd2e0e6cd34d0454509.zip |
libbpf: add flags to umem config
This patch adds a 'flags' field to the umem_config and umem_reg structs.
This will allow for more options to be added for configuring umems.
The first use for the flags field is to add a flag for unaligned chunks
mode. These flags can either be user-provided or filled with a default.
Since we change the size of the xsk_umem_config struct, we need to version
the ABI. This patch includes the ABI versioning for xsk_umem__create. The
Makefile was also updated to handle multiple function versions in
check-abi.
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index 664ce8e7a60e..d04c7cb623ed 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map @@ -183,6 +183,7 @@ LIBBPF_0.0.4 { perf_buffer__new; perf_buffer__new_raw; perf_buffer__poll; + xsk_umem__create; } LIBBPF_0.0.3; LIBBPF_0.0.5 { |