Skip to content

gve: precursor control plane changes before bare-metal support

Joshua Washington dpdk-dev 3 versions – Applied

Status from this message: Applied to next-net. I fixed the commit messages based on AI review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyApplied
  2. v28 patches 3 repliesSuperseded
  3. v18 patches 1 replySuperseded

Changes in v3 from the cover letter

- Move fix to be the first patch in the series, and update the fix reference commit
- Introduce process_private pointer when setting up ctrl_ops interface to avoid sharing potnetially unallocated pointer across applications
- Update optionality references in ctrl_ops struct.
- Avoid clearing RSS cache when sending AQ command
- Remove checks against GVE_DEV_CLK_UNSUPPORTED that are either redundant or incorrect.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8net/gve: fix RSS config memory leak on closedrivers/net/gve/gve_ethdev.c drivers/net/gve/gve_rss.c+2 -20 replies
2/8net/gve: refactor ethdev for control ops interfacedrivers/net/gve/base/gve_adminq.c drivers/net/gve/base/gve_adminq.h drivers/net/gve/gve_ethdev.c +6 more+186 -680 replies
3/8net/gve: rename doorbell BAR variable to be more genericdrivers/net/gve/gve_ethdev.c drivers/net/gve/gve_ethdev.h drivers/net/gve/gve_rx.c +3 more+10 -100 replies
4/8net/gve: split default queue counts into Tx and Rxdrivers/net/gve/base/gve_adminq.c drivers/net/gve/gve_ethdev.c drivers/net/gve/gve_ethdev.h+8 -70 replies
5/8net/gve: clean Tx queue directly in dqodrivers/net/gve/gve_ethdev.h drivers/net/gve/gve_tx_dqo.c+5 -100 replies
6/8net/gve: update RSS config just after successful programmingdrivers/net/gve/base/gve_adminq.c drivers/net/gve/gve_ethdev.c+5 -60 replies
7/8net/gve: add RSS cache boolean flagdrivers/net/gve/gve_ethdev.c drivers/net/gve/gve_ethdev.h drivers/net/gve/gve_rss.c+69 -150 replies
8/8net/gve: refactor timestamp support to clock read typedrivers/net/gve/base/gve_adminq.c drivers/net/gve/gve_ethdev.c drivers/net/gve/gve_ethdev.h+13 -60 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen Hemminger
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v3 thread

Cover letter [PATCH v3 0/8] gve: precursor control plane changes before bare-metal support

This patch series includes a number of precursor changes to the GVE ethdev driver layer in preparation for introducing support for a new GVE Mailbox control plane (an alternative to the existing AdminQ control plane).

The most major change in this series is the introduction of a new control_ops struct that will be used by both AQ and Mailbox for various operations which may need to communicate with the device. There are also some changes to how RSS and timestamping are handled in ethdev due to slight feature differences between the control planes.

Changes in v3:
- Move fix to be the first patch in the series, and update the fix reference commit
- Introduce process_private pointer when setting up ctrl_ops interface to avoid sharing potnetially unallocated pointer across applications
- Update optionality references in ctrl_ops struct.
- Avoid clearing RSS cache when sending AQ command
- Remove checks against GVE_DEV_CLK_UNSUPPORTED that are either redundant or incorrect.
Changes in v2:
- Remove -ENODATA return when updating RSS cache

Jasper Tran O'Leary (1):
net/gve: fix RSS config memory leak on close

Joshua Washington (2):
net/gve: update RSS config just after successful programming net/gve: add RSS cache boolean flag

Mark Blasko (5):
net/gve: refactor ethdev for control ops interface net/gve: rename doorbell BAR variable to be more generic net/gve: split default queue counts into Tx and Rx net/gve: clean Tx queue directly in dqo net/gve: refactor timestamp support to clock read type

 drivers/net/gve/base/gve_adminq.c |  32 ++--
 drivers/net/gve/base/gve_adminq.h |   9 +-
 drivers/net/gve/gve_ethdev.c      | 266 ++++++++++++++++++++++--------
 drivers/net/gve/gve_ethdev.h      |  55 +++++-
 drivers/net/gve/gve_flow_rule.c   |  11 +-
 drivers/net/gve/gve_rss.c         |   5 +-
 drivers/net/gve/gve_rx.c          |   7 +-
 drivers/net/gve/gve_rx_dqo.c      |   7 +-
 drivers/net/gve/gve_tx.c          |   7 +-
 drivers/net/gve/gve_tx_dqo.c      |  21 +--
 10 files changed, 297 insertions(+), 123 deletions(-)
Signature · 1 line
2.56.0.170.g584c36229d-goog