Skip to content

GVE Raw Addressing

David Awogbemila netdev 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest4 patches 3 repliesIn review
  2. v94 patches 3 repliesSuperseded
  3. v84 patches 2 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v74 patches6 repliesSuperseded
v64 patches14 repliesSuperseded
v5 posting 2/24 patches9 repliesSuperseded
v5 posting 1/24 patches1 replySuperseded
v44 patches2 repliesSuperseded
v34 patches7 repliesSuperseded
v23 patches6 repliesSuperseded
v13 patches2 repliesSuperseded

Changes in v10 from the cover letter

Patch 4: Use u64, not u32 for new tx stat counters.

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gve: Add support for raw addressing device optiondrivers/net/ethernet/google/gve/gve.h drivers/net/ethernet/google/gve/gve_adminq.c drivers/net/ethernet/google/gve/gve_adminq.h +1 more+92 -40 replies
2/4gve: Add support for raw addressing to the rx pathdrivers/net/ethernet/google/gve/gve.h drivers/net/ethernet/google/gve/gve_adminq.c drivers/net/ethernet/google/gve/gve_desc.h +2 more+182 -620 replies
3/4gve: Rx Buffer Recyclingdrivers/net/ethernet/google/gve/gve.h drivers/net/ethernet/google/gve/gve_rx.c+135 -740 replies
4/4gve: Add support for raw addressing in the tx pathdrivers/net/ethernet/google/gve/gve.h drivers/net/ethernet/google/gve/gve_adminq.c drivers/net/ethernet/google/gve/gve_desc.h +2 more+185 -420 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYangchun FuAlexander Duyck
SeriesR-b
1/4R-b
2/4R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH net-next v10 0/4] GVE Raw Addressing

Patchset description:
This patchset introduces "raw addressing" mode to the GVE driver. Previously (in "queue_page_list" or "qpl" mode), the driver would pre-allocate and dma_map buffers to be used on egress and ingress. On egress, it would copy data from the skb provided to the pre-allocated buffers - this was expensive.
In raw addressing mode, the driver can avoid this copy and simply dma_map the skb's data so that the NIC can use it.
On ingress, the driver passes buffers up to the networking stack and then frees and reallocates buffers when necessary instead of using skb_copy_to_linear_data.
Patch 3 separates the page refcount tracking mechanism
into a function gve_rx_can_recycle_buffer which uses get_page - this will be changed in a future patch to eliminate the use of get_page in tracking page refcounts.

Changes from v9:
Patch 4: Use u64, not u32 for new tx stat counters.

Catherine Sullivan (3):
gve: Add support for raw addressing device option
gve: Add support for raw addressing to the rx path
gve: Add support for raw addressing in the tx path

David Awogbemila (1):
gve: Rx Buffer Recycling

 drivers/net/ethernet/google/gve/gve.h         |  39 +-
 drivers/net/ethernet/google/gve/gve_adminq.c  |  89 ++++-
 drivers/net/ethernet/google/gve/gve_adminq.h  |  15 +-
 drivers/net/ethernet/google/gve/gve_desc.h    |  19 +-
 drivers/net/ethernet/google/gve/gve_ethtool.c |   2 +
 drivers/net/ethernet/google/gve/gve_main.c    |  11 +-
 drivers/net/ethernet/google/gve/gve_rx.c      | 364 +++++++++++++-----
 drivers/net/ethernet/google/gve/gve_tx.c      | 197 ++++++++--
 8 files changed, 574 insertions(+), 162 deletions(-)
Signature · 1 line
2.29.2.576.ga3fc446d84-goog