[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240501232549.1327174-1-shailend@google.com>
Date: Wed, 1 May 2024 23:25:39 +0000
From: Shailend Chand <shailend@...gle.com>
To: netdev@...r.kernel.org
Cc: almasrymina@...gle.com, davem@...emloft.net, edumazet@...gle.com,
hramamurthy@...gle.com, jeroendb@...gle.com, kuba@...nel.org,
pabeni@...hat.com, pkaligineedi@...gle.com, rushilg@...gle.com,
willemb@...gle.com, ziweixiao@...gle.com,
Shailend Chand <shailend@...gle.com>
Subject: [PATCH net-next v2 00/10] gve: Implement queue api
Following the discussion on
https://patchwork.kernel.org/project/linux-media/patch/20240305020153.2787423-2-almasrymina@google.com/,
the queue api defined by Mina is implemented for gve.
The first patch is just Mina's introduction of the api. The rest of the
patches make surgical changes in gve to enable it to work correctly with
only a subset of queues present (thus far it had assumed that either all
queues are up or all are down). The final patch has the api
implementation.
Changes since v1: clang warning fixes, kdoc warning fix, and addressed
review comments.
Mina Almasry (1):
queue_api: define queue api
Shailend Chand (9):
gve: Make the GQ RX free queue funcs idempotent
gve: Add adminq funcs to add/remove a single Rx queue
gve: Make gve_turn(up|down) ignore stopped queues
gve: Make gve_turnup work for nonempty queues
gve: Avoid rescheduling napi if on wrong cpu
gve: Reset Rx ring state in the ring-stop funcs
gve: Account for stopped queues when reading NIC stats
gve: Alloc and free QPLs with the rings
gve: Implement queue api
drivers/net/ethernet/google/gve/gve.h | 37 +-
drivers/net/ethernet/google/gve/gve_adminq.c | 79 ++-
drivers/net/ethernet/google/gve/gve_adminq.h | 2 +
drivers/net/ethernet/google/gve/gve_dqo.h | 6 +
drivers/net/ethernet/google/gve/gve_ethtool.c | 48 +-
drivers/net/ethernet/google/gve/gve_main.c | 575 ++++++++++--------
drivers/net/ethernet/google/gve/gve_rx.c | 132 ++--
drivers/net/ethernet/google/gve/gve_rx_dqo.c | 137 +++--
drivers/net/ethernet/google/gve/gve_tx.c | 33 +-
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 23 +-
include/linux/netdevice.h | 3 +
include/net/netdev_queues.h | 31 +
12 files changed, 677 insertions(+), 429 deletions(-)
--
2.45.0.rc0.197.gbae5840b3b-goog
Powered by blists - more mailing lists