git: 605af0640769 - main - cxgbe(4): Show correct range of tids in sysctl_tids

From: Navdeep Parhar <np_at_FreeBSD.org>
Date: Fri, 13 Feb 2026 18:40:09 UTC
The branch main has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=605af0640769b1d77d0d38bebee93fb35ee4101e

commit 605af0640769b1d77d0d38bebee93fb35ee4101e
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2026-02-13 18:30:03 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2026-02-13 18:39:09 +0000

    cxgbe(4): Show correct range of tids in sysctl_tids
    
    The highest valid tid has to be adjusted for the hi-pri filter region.
    
    MFC after:      1 week
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/t4_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index e14efc912de6..ecbe4d997278 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -11594,7 +11594,7 @@ sysctl_tids(SYSCTL_HANDLER_ARGS)
 		if (hashen) {
 			if (x)
 				sbuf_printf(sb, "%u-%u, ", t->tid_base, x - 1);
-			sbuf_printf(sb, "%u-%u", y, t->ntids - 1);
+			sbuf_printf(sb, "%u-%u", y, t->tid_base + t->ntids - 1);
 		} else {
 			sbuf_printf(sb, "%u-%u", t->tid_base, t->tid_base +
 			    t->ntids - 1);