summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/Kconfig
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2021-08-06 05:46:22 +0300
committerJakub Kicinski <kuba@kernel.org>2021-08-10 01:49:01 +0300
commit93188e9642c3ce11d11b2663905b703dfe89e349 (patch)
treefb1db736814d35a40e4289c93d153873afa0a56e /drivers/net/ethernet/hisilicon/Kconfig
parent53e0961da1c7bbdabd1abebb20de403ec237ec09 (diff)
downloadlinux-93188e9642c3ce11d11b2663905b703dfe89e349.tar.xz
net: hns3: support skb's frag page recycling based on page pool
This patch adds skb's frag page recycling support based on the frag page support in page pool. The performance improves above 10~20% for single thread iperf TCP flow with IOMMU disabled when iperf server and irq/NAPI have a different CPU. The performance improves about 135%(14Gbit to 33Gbit) for single thread iperf TCP flow when IOMMU is in strict mode and iperf server shares the same cpu with irq/NAPI. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/Kconfig')
-rw-r--r--drivers/net/ethernet/hisilicon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
index 094e4a37a295..2ba0e7bd3466 100644
--- a/drivers/net/ethernet/hisilicon/Kconfig
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -91,6 +91,7 @@ config HNS3
tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
depends on PCI
select NET_DEVLINK
+ select PAGE_POOL
help
This selects the framework support for Hisilicon Network Subsystem 3.
This layer facilitates clients like ENET, RoCE and user-space ethernet