From: David S. Miller Date: Fri, 6 Oct 2017 04:42:29 +0000 (-0700) Subject: Merge branch 'libbpf-support-more-map-options' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d433b3f3e899b411ee3a9c07f07c45f84a2f450e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- d433b3f3e899b411ee3a9c07f07c45f84a2f450e