git: 77d71f5f36cc - main - cxgbe(4): Fix netmap rx behavior with nm_split_rss
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Jan 2026 05:47:58 UTC
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=77d71f5f36cc01e7fc2ca0828af00a4478bbf53c
commit 77d71f5f36cc01e7fc2ca0828af00a4478bbf53c
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2026-01-27 01:03:05 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2026-01-27 05:45:50 +0000
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: a9f476580eb0 cxgbe(4): fixes for netmap operation with only some queues active
MFC after: 1 week
Sponsored by: Chelsio Communications
---
sys/dev/cxgbe/t4_netmap.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/cxgbe/t4_netmap.c b/sys/dev/cxgbe/t4_netmap.c
index 0135bec6e2c1..a858867239c6 100644
--- a/sys/dev/cxgbe/t4_netmap.c
+++ b/sys/dev/cxgbe/t4_netmap.c
@@ -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;
- }
}
}