diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-03-10 11:26:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-10 15:34:28 -0800 |
commit | 4b0a7539a3728f0fd7a11087d64371e8c28b4723 (patch) | |
tree | 98f899ef53e8053c54a01b2e0497dd5f9297892c /drivers/net/ethernet/pensando/ionic/ionic_lif.c | |
parent | 2b5720f26908571ff98bb279a6cb15f3b2660bb0 (diff) |
ionic: implement Rx page reuse
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 use the second half
of the page rather than allocate and map a new page once the
first buffer has been used.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_lif.c')
0 files changed, 0 insertions, 0 deletions