From: "Jasper Tran O'Leary" <jtranoleary@google.com>
To: stephen@networkplumber.org
Cc: dev@dpdk.org, "Jasper Tran O'Leary" <jtranoleary@google.com>
Subject: [PATCH 0/4] net/gve: add flow steering support
Date: Fri, 27 Feb 2026 19:51:22 +0000 [thread overview]
Message-ID: <20260227195126.3545607-1-jtranoleary@google.com> (raw)
This patch series adds flow steering support to the Google Virtual
Ethernet (gve) driver. This functionality allows traffic to be directed
to specific receive queues based on user-specified flow patterns.
The series includes foundational support for extended admin queue
commands needed to handle flow rules, the specific adminqueue commands
for flow rule management, and the integration with the DPDK rte_flow
API. The series adds support flow matching on the following protocols:
IPv4, IPv6, TCP, UDP, SCTP, ESP, and AH.
Patch Overview:
1. "net/gve: add flow steering device option" checks for and enables
the flow steering capability in the device options during
initialization.
2. "net/gve: introduce extended adminq command" adds infrastructure
for sending extended admin queue commands. These commands use a
flexible buffer descriptor format required for flow rule management.
3. "net/gve: add adminq commands for flow steering" implements the
specific admin queue commands to add and remove flow rules on the
device, including handling of rule IDs and parameters.
4. "net/gve: add rte flow API integration" exposes the flow steering
functionality via the DPDK rte_flow API. This includes strict
pattern validation, rule parsing, and lifecycle management (create,
destroy, flush). It ensures thread-safe access to the flow subsystem
and proper resource cleanup during device reset.
Jasper Tran O'Leary (2):
net/gve: add adminq commands for flow steering
net/gve: add rte flow API integration
Vee Agarwal (2):
net/gve: add flow steering device option
net/gve: introduce extended adminq command
doc/guides/nics/features/gve.ini | 12 +
doc/guides/nics/gve.rst | 20 +
doc/guides/rel_notes/release_26_03.rst | 1 +
drivers/net/gve/base/gve.h | 3 +-
drivers/net/gve/base/gve_adminq.c | 118 ++++-
drivers/net/gve/base/gve_adminq.h | 57 +++
drivers/net/gve/gve_ethdev.c | 87 +++-
drivers/net/gve/gve_ethdev.h | 46 ++
drivers/net/gve/gve_flow_rule.c | 645 +++++++++++++++++++++++++
drivers/net/gve/gve_flow_rule.h | 64 +++
drivers/net/gve/meson.build | 1 +
11 files changed, 1049 insertions(+), 5 deletions(-)
create mode 100644 dpdk/drivers/net/gve/gve_flow_rule.c
create mode 100644 dpdk/drivers/net/gve/gve_flow_rule.h
--
2.53.0.473.g4a7958ca14-goog
next reply other threads:[~2026-02-27 19:52 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 19:51 Jasper Tran O'Leary [this message]
2026-02-27 19:51 ` [PATCH 1/4] net/gve: add flow steering device option Jasper Tran O'Leary
2026-02-27 19:51 ` [PATCH 2/4] net/gve: introduce extended adminq command Jasper Tran O'Leary
2026-02-27 19:51 ` [PATCH 3/4] net/gve: add adminq commands for flow steering Jasper Tran O'Leary
2026-02-27 19:51 ` [PATCH 4/4] net/gve: add rte flow API integration Jasper Tran O'Leary
2026-02-27 22:52 ` [PATCH 0/4] net/gve: add flow steering support Stephen Hemminger
2026-03-03 1:00 ` Jasper Tran O'Leary
2026-03-03 0:58 ` [PATCH v2 " Jasper Tran O'Leary
2026-03-03 0:58 ` [PATCH v2 1/4] net/gve: add flow steering device option Jasper Tran O'Leary
2026-03-03 0:58 ` [PATCH v2 2/4] net/gve: introduce extended adminq command Jasper Tran O'Leary
2026-03-03 0:58 ` [PATCH v2 3/4] net/gve: add adminq commands for flow steering Jasper Tran O'Leary
2026-03-03 0:58 ` [PATCH v2 4/4] net/gve: add rte flow API integration Jasper Tran O'Leary
2026-03-03 15:21 ` [PATCH v2 0/4] net/gve: add flow steering support Stephen Hemminger
2026-03-04 1:49 ` Jasper Tran O'Leary
2026-03-04 1:46 ` [PATCH v3 " Jasper Tran O'Leary
2026-03-04 1:46 ` [PATCH v3 1/4] net/gve: add flow steering device option Jasper Tran O'Leary
2026-03-04 1:46 ` [PATCH v3 2/4] net/gve: introduce extended adminq command Jasper Tran O'Leary
2026-03-04 1:46 ` [PATCH v3 3/4] net/gve: add adminq commands for flow steering Jasper Tran O'Leary
2026-03-04 1:46 ` [PATCH v3 4/4] net/gve: add rte flow API integration Jasper Tran O'Leary
2026-03-04 4:46 ` [PATCH v3 0/4] net/gve: add flow steering support Jasper Tran O'Leary
2026-03-04 4:50 ` [PATCH v4 " Jasper Tran O'Leary
2026-03-04 4:50 ` [PATCH v4 1/4] net/gve: add flow steering device option Jasper Tran O'Leary
2026-03-04 4:50 ` [PATCH v4 2/4] net/gve: introduce extended adminq command Jasper Tran O'Leary
2026-03-04 4:50 ` [PATCH v4 3/4] net/gve: add adminq commands for flow steering Jasper Tran O'Leary
2026-03-04 4:50 ` [PATCH v4 4/4] net/gve: add rte flow API integration Jasper Tran O'Leary
2026-03-04 15:59 ` [PATCH v4 0/4] net/gve: add flow steering support Stephen Hemminger
2026-03-04 22:43 ` Jasper Tran O'Leary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260227195126.3545607-1-jtranoleary@google.com \
--to=jtranoleary@google.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox