[PATCH 01/12] net/gve: disable queue start and stop

Joshua Washington joshwash at google.com
Fri Dec 4 00:26:24 CET 2026


From: Mark Blasko <blasko at 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 at dpdk.org

Suggested-by: Joshua Washington <joshwash at google.com>
Signed-off-by: Mark Blasko <blasko at google.com>
Signed-off-by: Joshua Washington <joshwash at 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



More information about the stable mailing list