mbox series

[net-next,v2,0/2] gve: adopt page pool

Message ID 20241003163042.194168-1-pkaligineedi@google.com (mailing list archive)
Headers show
Series gve: adopt page pool | expand

Message

Praveen Kaligineedi Oct. 3, 2024, 4:30 p.m. UTC
From: Harshitha Ramamurthy <hramamurthy@google.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.

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 (2):
  gve: move DQO rx buffer management related code to a new file
  gve: adopt page pool for DQ RDA mode

 drivers/net/ethernet/google/Kconfig           |   1 +
 drivers/net/ethernet/google/gve/Makefile      |   3 +-
 drivers/net/ethernet/google/gve/gve.h         |  37 ++
 .../ethernet/google/gve/gve_buffer_mgmt_dqo.c | 316 ++++++++++++++++++
 drivers/net/ethernet/google/gve/gve_ethtool.c |  14 +-
 drivers/net/ethernet/google/gve/gve_rx_dqo.c  | 314 +++--------------
 6 files changed, 410 insertions(+), 275 deletions(-)
 create mode 100644 drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c