[PATCH 39/44] net: mana: Add page pool for RX buffers
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 4 Aug 2023 20:33:53 +0000 (13:33 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 10 Apr 2025 19:32:42 +0000 (21:32 +0200)
commit754debe8a01556282352e779514c65e3d90869c7
tree671501560ce914dfec92e6b6f4f4f467214355d1
parent55b32448283db747206505ee57145b3de333fdb9
[PATCH 39/44] net: mana: Add page pool for RX buffers

Add page pool for RX buffers for faster buffer cycle and reduce CPU
usage.

The standard page pool API is used.

With iperf and 128 threads test, this patch improved the throughput
by 12-15%, and decreased the IRQ associated CPU's usage from 99-100% to
10-50%.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit b1d13f7a3b5396503e6869ed627bb4eeab9b524f)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0039-net-mana-Add-page-pool-for-RX-buffers.patch
drivers/net/ethernet/microsoft/mana/mana_en.c
include/net/mana/mana.h