[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014202108.1051963-1-pkaligineedi@google.com>
Date: Mon, 14 Oct 2024 13:21:05 -0700
From: Praveen Kaligineedi <pkaligineedi@...gle.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, willemb@...gle.com, jeroendb@...gle.com,
shailend@...gle.com, hramamurthy@...gle.com, ziweixiao@...gle.com,
shannon.nelson@....com, jacob.e.keller@...el.com
Subject: [PATCH net-next v3 0/3] gve: adopt page pool
From: Harshitha Ramamurthy <hramamurthy@...gle.com>
This patchset implements page pool support for gve.
The first patch deals with movement of code to make
page pool adoption easier in the next patch. The
second patch adopts the page pool API. The third patch
adds basic per queue stats which includes page pool
allocation failures as well.
Changes in v3:
-Add patch 3 for per queue stats to track page pool alloc
failures (Jakub Kicinski)
-Remove ethtool stat for page pool alloc failures in patch 2
(Jakub Kicinski)
Changes in v2:
-Set allow_direct parameter to true in napi context and false
in others (Shannon Nelson)
-Set the napi pointer in page pool params (Jakub Kicinski)
-Track page pool alloc failures per ring (Jakub Kicinski)
-Don't exceed 80 char limit (Jakub Kicinski)
Harshitha Ramamurthy (3):
gve: move DQO rx buffer management related code to a new file
gve: adopt page pool for DQ RDA mode
gve: add support for basic queue stats
drivers/net/ethernet/google/Kconfig | 1 +
drivers/net/ethernet/google/gve/Makefile | 3 +-
drivers/net/ethernet/google/gve/gve.h | 36 ++
.../ethernet/google/gve/gve_buffer_mgmt_dqo.c | 312 +++++++++++++++++
drivers/net/ethernet/google/gve/gve_main.c | 49 +++
drivers/net/ethernet/google/gve/gve_rx_dqo.c | 314 +++---------------
6 files changed, 446 insertions(+), 269 deletions(-)
create mode 100644 drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c
--
2.47.0.rc1.288.g06298d1525-goog
Powered by blists - more mailing lists