When gve_tx_clean_dqo() sees an unknown completion type, it returns
without advancing complq_tail. Every later call stops at the same
entry, so Tx completions are never processed again.
Log the type and skip the entry.
Fixes: 4022f9999f56 ("net/gve: support basic Tx data path for DQO")
Cc: [email protected]
Signed-off-by: Tathagat Priyadarshi <[email protected]>
Acked-by: Joshua Washington <[email protected]>
---
drivers/net/gve/gve_tx_dqo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/gve/gve_tx_dqo.c b/drivers/net/gve/gve_tx_dqo.c
index e094761b38..c864d722d9 100644
--- a/drivers/net/gve/gve_tx_dqo.c
+++ b/drivers/net/gve/gve_tx_dqo.c
@@ -108,8 +108,8 @@ gve_tx_clean_dqo(struct gve_tx_queue *txq)
PMD_DRV_DP_LOG(DEBUG, "GVE_COMPL_TYPE_DQO_MISS ignored !!!");
break;
default:
- PMD_DRV_DP_LOG(ERR, "unknown completion type.");
- return;
+ PMD_DRV_DP_LOG(ERR, "unknown completion type %u",
compl_desc->type);
+ break;
}
next++;
--
2.43.0