diff options
author | Ratheesh Kannoth <rkannoth@marvell.com> | 2023-05-22 05:04:04 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-05-23 11:47:50 +0300 |
commit | b2e3406a38f0f48b1dfb81e5bb73d243ff6af179 (patch) | |
tree | 622a4581fc410076753dc96333710c8c59447ab8 /drivers/net/ethernet/marvell/octeontx2/Kconfig | |
parent | 62a41dc7166385e3ebf1d5795103bc8e3794838b (diff) | |
download | linux-b2e3406a38f0f48b1dfb81e5bb73d243ff6af179.tar.xz |
octeontx2-pf: Add support for page pool
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: Ratheesh Kannoth <rkannoth@marvell.com>
Link: https://lore.kernel.org/r/20230522020404.152020-1-rkannoth@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/Kconfig')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig index 993ac180a5db..a32d85d6f599 100644 --- a/drivers/net/ethernet/marvell/octeontx2/Kconfig +++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig @@ -32,6 +32,7 @@ config OCTEONTX2_PF tristate "Marvell OcteonTX2 NIC Physical Function driver" select OCTEONTX2_MBOX select NET_DEVLINK + select PAGE_POOL depends on (64BIT && COMPILE_TEST) || ARM64 select DIMLIB depends on PCI |