diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-05 21:42:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-05 21:45:17 -0700 |
commit | d433b3f3e899b411ee3a9c07f07c45f84a2f450e (patch) | |
tree | db13337e93443d1dca5cb7cd0d7480aa6862f5d6 /net | |
parent | d009313c99ba575b65a944fe2c683c6346ea1721 (diff) | |
parent | fe9b5f774b28143dcc2957eadffefdca6171a26a (diff) | |
download | op-kernel-dev-d433b3f3e899b411ee3a9c07f07c45f84a2f450e.zip op-kernel-dev-d433b3f3e899b411ee3a9c07f07c45f84a2f450e.tar.gz |
Merge branch 'libbpf-support-more-map-options'
Craig Gallek says:
====================
libbpf: support more map options
The functional change to this series is the ability to use flags when
creating maps from object files loaded by libbpf. In order to do this,
the first patch updates the library to handle map definitions that
differ in size from libbpf's struct bpf_map_def.
For object files with a larger map definition, libbpf will continue to load
if the unknown fields are all zero, otherwise the map is rejected. If the
map definition in the object file is smaller than expected, libbpf will use
zero as a default value in the missing fields.
====================
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions