From nobody Fri May 17 22:46:10 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 4Vh2BC0Kltz5KVrt; Fri, 17 May 2024 22:46:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vh2BB6tmWz4Xt7; Fri, 17 May 2024 22:46:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715985971; 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=G9Q6nUdLOJV/ZyTyCvqZbjbSpp2SsuVd3pmwgi8v4ys=; b=VKIq9PpegCG1wsTVmVYZOKSYv5j315VGpiHqm25kAr3+wt170KWmk3neo020YHuxDh12lZ ErcN+zfYWNUEW++bD3TRh/D3vz4LkHz/cm9OJ4GQ0366SkXv+tYP3N5Ipm8s0QK/RSVe+3 MWuXdxWvZ7TD3iming4lcHjGz5aF3hn7xg4atQ4ySYIpDvpRRisu6jDDXdYx0tAh87Zqqi 0GFh/6PjesXlZ9ibIXB05+7fXBLfV5PkmSIjvnURyb1CzhG/3f8h4O+RPra/Dar9mXNDDo dJaD1omUvIhfc4+Ed/qx+0p5jeZHohkHz3WGwS8tgOAvisHnGvAlOt+56gFreQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715985971; a=rsa-sha256; cv=none; b=BKYLJ0NGofDAEht/1CJw9c9BMU+MGAqykeaO3zOPHtZz5ZekCfnB6KyKP6Ro604/ufbKCp j+wR5IMZEVekkpsHZh2GQQIBS9cG6/BwXgAMTFqk72EKUf21LYFBqkanjs90HHXmCna1nM /6oOxODURVzsz8zu2wHNyGhrjmWgX4/SZOqdPRExv0wwNkMAgJFi/uKGmIIs/Ccvex079Q OZeYUuCV02QlGguAlHxFZJb5baKv1EWGB+Mj11VfKdr4HAE4MxEaFYslMyMmRpIxD4b39k MmqjcSQnvRH/CkWDM62xPH6sEvv5Bu9colYGbOJScMRHdFuhfoQiisSa70PI0Q== 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=1715985971; 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=G9Q6nUdLOJV/ZyTyCvqZbjbSpp2SsuVd3pmwgi8v4ys=; b=GAAX8dNnVRmGQoNIeGIsfhQClXY479haElXHrxUn/pVaJG9YeTQf6iriSJ5ja7ijaKLxWj hvRClZpnlklUfTnmKNE5Qy6TK3LlRJlFqINEPzJbG4WvmyIhpUMvTZztmS5A6qhRZFweD+ gFb2eb1fH2K2JdmjvAhz32i0wfEXLQkRd2zGFKHOufJVruPJhIPN9+PWAmeuyNxAn9LJdx cciFfKoBd2sgFHjURO/e35UZsq+EZma6aCf/fJgUBWVTqSWaNWCmeTV4STOSW8l11r2Vgu Ut2lFbqGpA18YSGXQZdDVvS/jXrP+qJ5yt5EUqC3w210cqZJANZMj0jnlsyLPA== 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 4Vh2BB6V5fz11YL; Fri, 17 May 2024 22:46:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44HMkAPO026943; Fri, 17 May 2024 22:46:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HMkAZE026940; Fri, 17 May 2024 22:46:10 GMT (envelope-from git) Date: Fri, 17 May 2024 22:46:10 GMT Message-Id: <202405172246.44HMkAZE026940@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: cca3506dc154 - main - 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/main X-Git-Reftype: branch X-Git-Commit: cca3506dc15464baf9b09b143879ed13fb5684c7 Auto-Submitted: auto-generated The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=cca3506dc15464baf9b09b143879ed13fb5684c7 commit cca3506dc15464baf9b09b143879ed13fb5684c7 Author: Navdeep Parhar AuthorDate: 2024-05-02 23:47:18 +0000 Commit: Navdeep Parhar CommitDate: 2024-05-17 22:42:23 +0000 cxgbe(4): sc->port is indexed by port_id and not tx_chan. MFC after: 1 week Sponsored by: Chelsio Communications --- 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.