gve: precursor control plane changes before bare-metal support
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
- v3 Latest8 patches 1 replyApplied
- v28 patches 3 repliesSuperseded
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net/gve: fix RSS config memory leak on closedrivers/ drivers/ | +2 | 0 replies | |
| 2/8 | net/gve: refactor ethdev for control ops interfacedrivers/ drivers/ drivers/ +6 more | +186 | 0 replies | |
| 3/8 | net/gve: rename doorbell BAR variable to be more genericdrivers/ drivers/ drivers/ +3 more | +10 | 0 replies | |
| 4/8 | net/gve: split default queue counts into Tx and Rxdrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 5/8 | net/gve: clean Tx queue directly in dqodrivers/ drivers/ | +5 | 0 replies | |
| 6/8 | net/gve: update RSS config just after successful programmingdrivers/ drivers/ | +5 | 0 replies | |
| 7/8 | net/gve: add RSS cache boolean flagdrivers/ drivers/ drivers/ | +69 | 0 replies | |
| 8/8 | net/gve: refactor timestamp support to clock read typedrivers/ drivers/ drivers/ | +13 | 0 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.
| Patch | Stephen Hemminger |
|---|---|
| Series | R-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.
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