]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-array-map-offload-and-tests'
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 18 Jan 2018 21:54:26 +0000 (22:54 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 18 Jan 2018 21:54:27 +0000 (22:54 +0100)
commitbafbd49141aae9a5ed088394974fdbd2b1e1d2b3
treeefd0d8d3cb68686132ce8adea69fddd8916e7477
parentf627f276b98a65c4541c384e1ece74fdd98624aa
parent2b12b9c81a4e78022c1e82af4a07cafa8180d9ea
Merge branch 'bpf-array-map-offload-and-tests'

Jakub Kicinski says:

====================
This set brings in the rest of map offload code held up by urgent
fixes and improvements to the BPF arrays.

The first 3 patches take care of array map offload, similarly to
hash maps the attribute validation is split out to a separate map
op, and used for both offloaded and non-offloaded case (allocation
only happens if map is on the host).  Offload support comes down
to allowing this map type through the offload check in the core.
NFP driver also rejects the delete operation in case of array maps.

Subsequent patches add reporting of target device in a very similar
way target device of programs is reported (ifindex+netns dev/ino).
Netdevsim is extended with a trivial map implementation allowing us
to test the offload in test_offload.py.

Last patch adds a small busy wait to NFP map IO, this improves the
response times which is especially useful for map dumps.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>