From nobody Wed Jul 17 14:24:46 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 4WPJ9V6ZVdz5RPyv; Wed, 17 Jul 2024 14:24:46 +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 4WPJ9V2W8yz41J4; Wed, 17 Jul 2024 14:24:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721226286; 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=Paz66P1y77/nwOZN6nuiLFa6qEG7vEFwQdyniS1k8Fo=; b=ph1Xo1Dh0/Uh/1pnGZ1EazdXuaVeV3y9ELkjTz+u1A7Ovpnrx3zj2Ekc4TIDYA5puDvs1q 03P1dpTB3FH+1Q8izr+zDCDVvgh+POnkueuFgMzLEUiPoegRmVpHsA2wKzmpnm/Db5wBvj LrdQiRBhzh8SClkFtjUgEefqu2fyX4UrceJzbW69JYdKBbUY/PmbilC9AZgHlX3QRcEQHy PprUt4sTwbwgRZw1Verw4UYPSe8fs1eIw77+E7E4UOwci56BZktJN1r/ao7NPS9FXVsxui kDRgnlcWEUwzPPmoSEboUrHXiDbHb5xrK5mLRPbh9omEqNbITZOSHgaT6kLPMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721226286; a=rsa-sha256; cv=none; b=AxIpgzOChLIRQHyUWSo1RXGMSdzYdCgMcr1rD5Ykk41ooQEljQrj+fHf5BHJr5SiHJsAOt ++W2VSOEwJNjl7USwicakxvlaYiTbbTlNtKZ6irWwpmpHZr+35Hgq875m3haGEq/iBBz3s gZ2i5VeliOVfH0Qr3L07nfR3BjHN+i7rXfJLfz7CrRn8GkrwTtYhbHarMvpbsGrRVM1GRR 3x2YzmSXoRS1n3QzC19NKz5aAEHkov0pnIvzE3QiqT/pJkW05B4ANBRs/kBpWtfEFEjIwV ujBJERkj2EXhwvLlfAh3FRRFqo0KSVYRQi37sdtrV8D5lwIbkSAaehKCdsUf8A== 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=1721226286; 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=Paz66P1y77/nwOZN6nuiLFa6qEG7vEFwQdyniS1k8Fo=; b=GZmEOChQXgxAhI1/tk03yH1DTbF8qAM1nbHeNQcz9vpwtSmcQP5AP0RNVEECm75L5pkoTG lbjir6ValqK0EhOS7fHZ5QaiR+Y9DcqYOn9eyRnpxXX3FXJNYrSa/5hzEKAKWMDPEz3qRw 0Y3s0iquTsQq+YYOujWDd4zaDhOvWfj7V0/5ZgpziE55A9XW98+X51CxtvWVarxciXIyM0 hQSOqCv+r29xntJgvVf3BCqMXrKbx8gkTU8D6GUPLexZJ+kT5dSS1wqRPtGCWksbGzjbC7 9rD5TFtRPYTN2R1fiXKHSeSwRTUp0stiAaqa8NBkelVrtj7QCy7ub4B3wvqklg== 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 4WPJ9V250qz1N0m; Wed, 17 Jul 2024 14:24:46 +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 46HEOkaI033514; Wed, 17 Jul 2024 14:24:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46HEOkda033511; Wed, 17 Jul 2024 14:24:46 GMT (envelope-from git) Date: Wed, 17 Jul 2024 14:24:46 GMT Message-Id: <202407171424.46HEOkda033511@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: 9cdafb024d3e - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 9cdafb024d3ea8dbc169a556863ef7c1e516719f Auto-Submitted: auto-generated The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=9cdafb024d3ea8dbc169a556863ef7c1e516719f commit 9cdafb024d3ea8dbc169a556863ef7c1e516719f Author: Navdeep Parhar AuthorDate: 2024-05-02 23:47:18 +0000 Commit: Navdeep Parhar CommitDate: 2024-07-17 07:16:55 +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 f7e2e168880a..d343b75a614f 100644 --- a/sys/dev/cxgbe/t4_sched.c +++ b/sys/dev/cxgbe/t4_sched.c @@ -335,7 +335,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.