Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2026 18:40:09 +0000
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 605af0640769 - main - cxgbe(4): Show correct range of tids in sysctl_tids
Message-ID:  <698f7009.3acf4.7f27bea4@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698f7009.3acf4.7f27bea4>