From: Joshua Washington <joshwash@google.com>
To: Joshua Washington <joshwash@google.com>,
Junfeng Guo <junfengg@nvidia.com>
Cc: dev@dpdk.org, Mark Blasko <blasko@google.com>, stable@dpdk.org
Subject: [PATCH 01/12] net/gve: disable queue start and stop
Date: Thu, 3 Dec 2026 15:26:24 -0800 [thread overview]
Message-ID: <20261203232637.1044501-2-joshwash@google.com> (raw)
In-Reply-To: <20261203232637.1044501-1-joshwash@google.com>
From: Mark Blasko <blasko@google.com>
Stopping a single Rx or Tx queue only resets the software state of the
queue. The queue is never destroyed on the device, and starting it again
does not create it on the device either, so the device keeps its stale
position in the ring and may keep using buffers that have already been
released. Afterwards, the device and driver no longer agree on which
descriptors are valid. On DQO Tx queues, this makes the device process
zeroed descriptors, which it treats as malicious driver behavior,
disabling the queue.
Fixing this requires creating and destroying individual queues on the
device. Until that is supported, remove the queue start and stop ops,
so that applications get -ENOTSUP instead of a broken queue. All queues
are still started and stopped along with the device.
Fixes: b044845bb015 ("net/gve: support queue start/stop")
Cc: stable@dpdk.org
Suggested-by: Joshua Washington <joshwash@google.com>
Signed-off-by: Mark Blasko <blasko@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
---
doc/guides/nics/features/gve.ini | 1 -
drivers/net/gve/gve_ethdev.c | 8 --------
2 files changed, 9 deletions(-)
diff --git a/doc/guides/nics/features/gve.ini b/doc/guides/nics/features/gve.ini
index 5566511b6b..909858d8f0 100644
--- a/doc/guides/nics/features/gve.ini
+++ b/doc/guides/nics/features/gve.ini
@@ -5,7 +5,6 @@
;
[Features]
Speed capabilities = Y
-Queue start/stop = Y
MTU update = Y
Scattered Rx = P
TSO = Y
diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c
index 8ee52fdd47..e71f97646f 100644
--- a/drivers/net/gve/gve_ethdev.c
+++ b/drivers/net/gve/gve_ethdev.c
@@ -1477,10 +1477,6 @@ static const struct eth_dev_ops gve_eth_dev_ops = {
.tx_queue_setup = gve_tx_queue_setup,
.rx_queue_release = gve_rx_queue_release,
.tx_queue_release = gve_tx_queue_release,
- .rx_queue_start = gve_rx_queue_start,
- .tx_queue_start = gve_tx_queue_start,
- .rx_queue_stop = gve_rx_queue_stop,
- .tx_queue_stop = gve_tx_queue_stop,
.flow_ops_get = gve_flow_ops_get,
.link_update = gve_link_update,
.stats_get = gve_dev_stats_get,
@@ -1505,10 +1501,6 @@ static const struct eth_dev_ops gve_eth_dev_ops_dqo = {
.tx_queue_setup = gve_tx_queue_setup_dqo,
.rx_queue_release = gve_rx_queue_release_dqo,
.tx_queue_release = gve_tx_queue_release_dqo,
- .rx_queue_start = gve_rx_queue_start_dqo,
- .tx_queue_start = gve_tx_queue_start_dqo,
- .rx_queue_stop = gve_rx_queue_stop_dqo,
- .tx_queue_stop = gve_tx_queue_stop_dqo,
.flow_ops_get = gve_flow_ops_get,
.link_update = gve_link_update,
.stats_get = gve_dev_stats_get,
--
2.56.1.915.g69d5ec7298-goog
next prev parent reply other threads:[~2026-12-03 23:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 23:26 [PATCH 00/12] net/gve: stability fixes and DQO scattered Rx support Joshua Washington
2026-12-03 23:26 ` Joshua Washington [this message]
2026-12-03 23:26 ` [PATCH 02/12] net/gve: free partially received GQI Rx packet Joshua Washington
2026-12-03 23:26 ` [PATCH 03/12] net/gve: fix integer underflow in GQI Rx path Joshua Washington
2026-12-03 23:26 ` [PATCH 04/12] net/gve: fix integer truncation in GQI QPL Tx path Joshua Washington
2026-12-03 23:26 ` [PATCH 05/12] net/gve: do not count unsent DQO Tx packets as oerrors Joshua Washington
2026-12-03 23:26 ` [PATCH 06/12] net/gve: disable unsupported TCP LRO offload Joshua Washington
2026-12-03 23:26 ` [PATCH 07/12] net/gve: drop multi-seg Rx packets if scatter is off Joshua Washington
2026-12-03 23:26 ` [PATCH 08/12] net/gve: reject non-power-of-2 ring sizes on DQO Joshua Washington
2026-12-03 23:26 ` [PATCH 09/12] net/gve: properly handle RSS realloc failures Joshua Washington
2026-12-03 23:26 ` [PATCH 10/12] net/gve: reject unsupported flow attributes and item masks Joshua Washington
2026-12-03 23:26 ` [PATCH 11/12] net/gve: fix mbuf leak on GQI Rx queue start Joshua Washington
2026-12-03 23:26 ` [PATCH 12/12] net/gve: support scattered Rx for DQO Joshua Washington
2026-12-04 19:13 ` [PATCH 00/12] net/gve: stability fixes and DQO scattered Rx support Stephen Hemminger
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=20261203232637.1044501-2-joshwash@google.com \
--to=joshwash@google.com \
--cc=blasko@google.com \
--cc=dev@dpdk.org \
--cc=junfengg@nvidia.com \
--cc=stable@dpdk.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.