From nobody Wed Jul 17 14:21:50 2024 X-Original-To: dev-commits-src-all@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 4WPJ672lkCz5RPjw; Wed, 17 Jul 2024 14:21:51 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPJ670GNLz4tNP; Wed, 17 Jul 2024 14:21:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721226111; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L3TGYhFoPgj+3cKHEe4IkX8r6Xi7nqya3rUGuF4yG6Y=; b=lt4wZctCTLtEY2fxxVX+SFxKw+SQA+XxNeTgmMIDHR+VhNHJmGKsfltnnrhFUQvr9B4aj9 0kA4+VtUIpTBpR0ZhyxD1JzmJ8KP4IS6UkjDgRugwbHDYoT559Lc2V1iH/o9BSTsMHjtnJ htOryma3J8ew1OMCBj+oqYCxrgpMBOaVstacgpKc11qdmJvXY3hZUuxDx3pWvJ2ljdLikr IrHeLbjMGe4jol1BRk8HZwLOxruDmSYWkEnmeAcG9nWIHHRAWI4doJpyKFBrTGSimpnbM8 7cu3HNdQ8eIElaIfA62h3pNdc1FSqlx4E6dP3BuKxEyi8ts3/mwVIh1F7v010A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721226111; a=rsa-sha256; cv=none; b=LFgMQGqYp3Zon7+1t0HeWWDu35bQ3mis6DgJD6qQgaalZHjaNSpGjAe75PA1LutpR0/TTk 58DVvxnrot0O66CBOrh241xUuHGZhrEp7J/5XhevW0MrZPcI/0OivwK/cvT6jw1rzCHF0Z cEs9p3gfslxoDb0/iP5dhoeIWHiDrhn38ur8iwf03thYc6Oj2RzEvxRRlGvlnUWHhVR9CB PFhltW+Nrp1CvGVBvxOKpquhldYguwhKET/hRCqvSVbK3app1+Dxdm2HYKMFfYL1DkCQGd XdMN9MASymCUQ/VqWjLasVTaq+dw8mHnQWzkm8DHV8vKMeKcjbDQv8gHNLE+dA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721226111; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L3TGYhFoPgj+3cKHEe4IkX8r6Xi7nqya3rUGuF4yG6Y=; b=UezFtCpUqgcygbHVHJxFq7f5d5FgWhssrQ32AhRnAAk9NA1ONZG8X+wEBAp5JlTyd/+0gu IIfdlhSeIabVNGHgtCGGDs+agO1yGSBSOAhFLfw+iAfkfWbRVCJO0Va4+TcH0E4gHm9dGQ MtBDLASYGw+i2/QfbEeyCYsPcPqkkoWpy+z0wGwBiQK1AjZqofKG1tnyHmn+SWlCy3mIc6 DiLrdTps08VxIv44F1MT5l35SBl3bZ25enM8YfZ39XX5ioS0tVfe2xT5UEe04blEs+2Aoq +88LWUGOG0Q140Dm7vUOtsHFWZI5OHXq9EQW1knSHyxi/Sb3BDXYNmrsPxgavA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WPJ6670Zpz1Mmw; Wed, 17 Jul 2024 14:21:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46HELoZ5031069; Wed, 17 Jul 2024 14:21:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46HELopG031066; Wed, 17 Jul 2024 14:21:50 GMT (envelope-from git) Date: Wed, 17 Jul 2024 14:21:50 GMT Message-Id: <202407171421.46HELopG031066@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Navdeep Parhar Subject: git: 307639c1e93f - stable/14 - cxgbe(4): sc->port is indexed by port_id and not tx_chan. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 307639c1e93f7948359f157cfd47c6aeadf77719 Auto-Submitted: auto-generated The branch stable/14 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=307639c1e93f7948359f157cfd47c6aeadf77719 commit 307639c1e93f7948359f157cfd47c6aeadf77719 Author: Navdeep Parhar AuthorDate: 2024-05-02 23:47:18 +0000 Commit: Navdeep Parhar CommitDate: 2024-07-17 06:39:32 +0000 cxgbe(4): sc->port is indexed by port_id and not tx_chan. Sponsored by: Chelsio Communications (cherry picked from commit cca3506dc15464baf9b09b143879ed13fb5684c7) --- sys/dev/cxgbe/t4_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_sched.c b/sys/dev/cxgbe/t4_sched.c index 46638a086a0d..2186c8aa2ac0 100644 --- a/sys/dev/cxgbe/t4_sched.c +++ b/sys/dev/cxgbe/t4_sched.c @@ -334,7 +334,7 @@ bind_txq_to_traffic_class(struct adapter *sc, struct sge_txq *txq, int idx) goto done; } - tc0 = &sc->port[txq->eq.tx_chan]->sched_params->cl_rl[0]; + tc0 = &sc->port[txq->eq.port_id]->sched_params->cl_rl[0]; if (idx != -1) { /* * Bind to a different class at index idx.