commit | fca16e51078e8e5c0af839426b3d2dcd2bede135 | [log] [tgz] |
---|---|---|
author | Toke Høiland-Jørgensen <toke@redhat.com> | Fri Jul 26 18:06:53 2019 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Jul 29 13:50:48 2019 -0700 |
tree | 8bf50cb542d34a730874a6bbd4230f5389366b37 | |
parent | 6dbff13ca8a2ad2fddd904c2e789dd5e59a8644c [diff] |
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>