Commit 2a2d7bf8 authored by Ratheesh Kannoth's avatar Ratheesh Kannoth Committed by Greg Kroah-Hartman
Browse files

octeontx2-pf: Add support for page pool



[ Upstream commit b2e3406a ]

Page pool for each rx queue enhance rx side performance
by reclaiming buffers back to each queue specific pool. DMA
mapping is done only for first allocation of buffers.
As subsequent buffers allocation avoid DMA mapping,
it results in performance improvement.

Image        |  Performance
------------ | ------------
Vannila      |   3Mpps
             |
with this    |   42Mpps
change	     |
---------------------------

Signed-off-by: default avatarRatheesh Kannoth <rkannoth@marvell.com>
Link: https://lore.kernel.org/r/20230522020404.152020-1-rkannoth@marvell.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: b4164de5 ("octeontx2-pf: Add AF_XDP non-zero copy support")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f1dde3eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment