diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-07-26 18:06:53 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-07-29 22:50:48 +0200 |
commit | fca16e51078e8e5c0af839426b3d2dcd2bede135 (patch) | |
tree | 8bf50cb542d34a730874a6bbd4230f5389366b37 /include/trace | |
parent | include/bpf.h: Remove map_insert_ctx() stubs (diff) | |
download | linux-fca16e51078e8e5c0af839426b3d2dcd2bede135.tar.xz linux-fca16e51078e8e5c0af839426b3d2dcd2bede135.zip |
xdp: Refactor devmap allocation code for reuse
The subsequent patch to add a new devmap sub-type can re-use much of the
initialisation and allocation code, so refactor it into separate functions.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions