cxgbe(4): Fix netmap rx behavior with nm_split_rss

The driver should look for active queues and one potential default-queue
in both halves of the split instead of stopping at the first valid
default-queue.

Fixes:		a9f476580e cxgbe(4): fixes for netmap operation with only some queues active
MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar
2026-01-26 17:03:05 -08:00
parent 9a5baa9c58
commit 77d71f5f36
+1 -3
View File
@@ -606,10 +606,8 @@ cxgbe_netmap_split_rss(struct adapter *sc, struct vi_info *vi,
(nm_state == NM_OFF && nm_kring_pending_on(kring))) {
MPASS(nm_rxq->iq_cntxt_id != INVALID_NM_RXQ_CNTXT_ID);
nactive[j]++;
if (dq[j] == -1) {
if (dq[j] == -1)
dq[j] = nm_rxq->iq_abs_id;
break;
}
}
}