Re: [PATCH net-next 2/6] ionic: implement Rx page reuse

2021-03-12 Thread Shannon Nelson
On 3/10/21 6:14 PM, Alexander Duyck wrote: On Wed, Mar 10, 2021 at 11:28 AM Shannon Nelson wrote: Rework the Rx buffer allocations to use pages twice when using normal MTU in order to cut down on buffer allocation and mapping overhead. Instead of tracking individual pages, in which we may have

Re: [PATCH net-next 2/6] ionic: implement Rx page reuse

2021-03-10 Thread Alexander Duyck
On Wed, Mar 10, 2021 at 11:28 AM Shannon Nelson wrote: > > Rework the Rx buffer allocations to use pages twice when using > normal MTU in order to cut down on buffer allocation and mapping > overhead. > > Instead of tracking individual pages, in which we may have > wasted half the space when using

[PATCH net-next 2/6] ionic: implement Rx page reuse

2021-03-10 Thread Shannon Nelson
Rework the Rx buffer allocations to use pages twice when using normal MTU in order to cut down on buffer allocation and mapping overhead. Instead of tracking individual pages, in which we may have wasted half the space when using standard 1500 MTU, we track buffers which use half pages, so we can