Re: [PATCH 07/10 net-next] page_pool: allow configurable linear cache size

2019-10-18 Thread Jonathan Lemon
On 17 Oct 2019, at 1:51, Jesper Dangaard Brouer wrote: On Wed, 16 Oct 2019 15:50:25 -0700 Jonathan Lemon wrote: Some drivers may utilize more than one page per RX work entry. Allow a configurable cache size, with the same defaults if the size is zero. Convert magic numbers into descriptiv

Re: [PATCH 07/10 net-next] page_pool: allow configurable linear cache size

2019-10-17 Thread Jesper Dangaard Brouer
On Wed, 16 Oct 2019 15:50:25 -0700 Jonathan Lemon wrote: > Some drivers may utilize more than one page per RX work entry. > Allow a configurable cache size, with the same defaults if the > size is zero. > > Convert magic numbers into descriptive entries. > > Re-arrange the page_pool structure f

[PATCH 07/10 net-next] page_pool: allow configurable linear cache size

2019-10-16 Thread Jonathan Lemon
Some drivers may utilize more than one page per RX work entry. Allow a configurable cache size, with the same defaults if the size is zero. Convert magic numbers into descriptive entries. Re-arrange the page_pool structure for efficiency. Signed-off-by: Jonathan Lemon --- include/net/page_pool