Re: [PATCH bpf-next v2 2/6] xdp: Refactor devmap allocation code for reuse

2019-07-06 Thread Y Song
On Sat, Jul 6, 2019 at 1:47 AM Toke Høiland-Jørgensen wrote: > > From: Toke Høiland-Jørgensen > > 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 Acke

[PATCH bpf-next v2 2/6] xdp: Refactor devmap allocation code for reuse

2019-07-06 Thread Toke Høiland-Jørgensen
From: Toke Høiland-Jørgensen 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 --- kernel/bpf/devmap.c | 137 +++