From nobody Thu Oct 29 06:35:18 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jFZGt5yrcz6xtKW for ; Thu, 29 Oct 2026 06:35:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jFZGt1thMz57Xx for ; Thu, 29 Oct 2026 06:35:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793255718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5vr7mjt9YcgIe8Sz+PuroYQGPoj79YO5OXCRfQvnxDY=; b=HD3B1mHLh0zuxlaUp/frdkM8J/2JKZA01XGS3na4xVowml+a8tH5RvWmjdsKjeL1vcYL/X zvFGuM0o3s3nV7zVOpHG5GPxt2kOspajn+190W3LgQCal+qpKigest+qW8PzZAFuRnNLA1 MWVNXb6/1ONqAGjd+vKQecmGup677Og00hjuT43t7cCrE67m2EQj+Gk6nsOvvVL71b1fck b0wvXciYxjLJg1OCgkY1C51CqPXukGF34cgQ4v0/ZR6zUzz+t1Vdi4uNZ76ImlwkdXpy0M hAwmNaaDIFV18rDPiO7X4DDZaHd/XiJowYe9whCelwYioY2htyaLu+oPccFTng== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793255718; b=CxgXnd9jni4eK1srIFi7/P3tseOQB5N6Q+GaLRPI1A7oL25YoYP3QNA5CvGerJ3pFyYIbN zvJIeI92Wel5MqcNfBk4Z26RvqVHDF6VIrRcSRFuGNdrizdgf5Ngd0veqVu8hBlW66QxEH oFUUcH3YwgmuxxG36WuduTAIE3SfPrpAI8H5D4h59ihxom6EEJPQDC87tDEI+Xy2WC9WP7 IT5E6UwaZQqQ8PbUnfPu80n9gGaZMkiABTDM41p4SS34PClzL6q6d5JyeMUoJlI5vw0cfn 2tJ1QLySBaJXwQyvymNr0rcref2tgkFojBM5eV6Nr8dC4uOnReB75Wx9xrL1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793255718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5vr7mjt9YcgIe8Sz+PuroYQGPoj79YO5OXCRfQvnxDY=; b=PO93tHH05aIh7iNoEF810ovhzHg8G8QD5Z2DbhuCS9gnITJCxzZcCBMc5vET08X3j75aJ/ N7+owtCLdgEWZAfhYN3Zczh2LgEP4gKjp6ygfHCkl1Xeus/LQjzmYp9bo9veRZoeZtGBm0 koJ539IAQ5heSgN1gAILvs0fAnAhwSBR6BYoL8C149Ms7PmtUpYAqkrLnmh1fjWg6O5Q+9 2AfWymgQGJipI7LTI9GM2NV5n8rnHS6iazHln15bzodZOm5c+RxJOtIa/kKDdpsyFvJ9Zh H9h9EOgrRNrbFWApp6/3al084YBvAXXgd9xRcmIxjCDLJTufIKDoR1IDPCOKAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jFZGt190KzS0Q for ; Thu, 29 Oct 2026 06:35:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d9c3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 06:35:18 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Navdeep Parhar From: Kevin Bowling Subject: git: 9d364b9c8bdd - stable/15 - cxgbe(4): Fix compile warning for !RSS kernels List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 9d364b9c8bdde505624e824be22915188c792548 Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 06:35:18 +0000 Message-Id: <6ae2e926.3d9c3.61083d80@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=9d364b9c8bdde505624e824be22915188c792548 commit 9d364b9c8bdde505624e824be22915188c792548 Author: Navdeep Parhar AuthorDate: 2025-11-24 21:00:47 +0000 Commit: Kevin Bowling CommitDate: 2026-10-29 06:26:40 +0000 cxgbe(4): Fix compile warning for !RSS kernels .../sys/dev/cxgbe/t4_main.c:7197:1: warning: unused function 'hashen_to_hashconfig' [-Wunused-function] 7197 | hashen_to_hashconfig(int hashen) | ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. Reported by: bz Fixes: d381a6b4a552 cxgbe: use newly exposed RSS hash key API rather than ad-hoc hashing (cherry picked from commit a303b1455fb5f76b193e10b0a96fabe4e93e9f40) --- sys/dev/cxgbe/t4_main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index ae0dbc731207..e4029ef13160 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -7176,11 +7176,10 @@ vi_full_init(struct vi_info *vi) { struct adapter *sc = vi->adapter; struct sge_rxq *rxq; - int rc, i, j; + int rc, i, j, extra; int hashconfig = rss_gethashconfig(); #ifdef RSS int nbuckets = rss_getnumbuckets(); - int extra; #endif ASSERT_SYNCHRONIZED_OP(sc); @@ -7237,7 +7236,6 @@ vi_full_init(struct vi_info *vi) vi->hashen = hashconfig_to_hashen(hashconfig); -#ifdef RSS /* * We may have had to enable some hashes even though the global config * wants them disabled. This is a potential problem that must be @@ -7271,7 +7269,7 @@ vi_full_init(struct vi_info *vi) CH_ALERT(vi, "UDP/IPv4 4-tuple hashing forced on.\n"); if (extra & RSS_HASHTYPE_RSS_UDP_IPV6) CH_ALERT(vi, "UDP/IPv6 4-tuple hashing forced on.\n"); -#endif + rc = -t4_config_vi_rss(sc, sc->mbox, vi->viid, vi->hashen, vi->rss[0], 0, 0); if (rc != 0) {