From nobody Thu Jan 11 05:34:26 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 4T9YJM21d3z56VSr; Thu, 11 Jan 2024 05:34:27 +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 4T9YJL6pdZz47dW; Thu, 11 Jan 2024 05:34:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704951267; 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=k0NZbHd34HDH3uEAZth6+WyQ7Ov/NOkKcmnbw4qLfw0=; b=RiXiKrIWGXthL0sbpaIwgE1MFpjc9lg0votZvBdQ4wX8Rf1FxOd++ZRSaFCbv0ERn9c+ja R+ZUuUeaf9pidG9OWsGQ2pR7EQG9PtGXrLiwkRVpaStWcAl0KfKIxfljhLsWBCcgGHDlIt yEt4err2UA9i/9LMHLAepLEbq07Z/dG/w6zuHUCZ/cciTSd+N7E1Uzf0FB25QDRwYZ/3pe 4KrFjU96pzlXYTICS2FgIcWzciPs0UEE6Ht4a5iNySOaZyHwuEJttaYQAjWxC0qLFJB0T9 6GVRYPfmzmLcavtgVpJ5mE0YzOH8tfepq72FEimD0ePj5Ko3/L5mH6/vxqEK6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704951267; 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=k0NZbHd34HDH3uEAZth6+WyQ7Ov/NOkKcmnbw4qLfw0=; b=GFrP2NRQ0Avg/katyB4vV6z/N0J4CRZRNy+lwDZjwQ9RN4HelJDwfGfl1cbqk7YYexBFYP lKsM810FaX/EtcCpa8qkm8r75+dyD4RUgHY2VRR+phORdiUz3pj5iicTFKL/bM/lpoUUI7 z84I2TaDAj8F7YsBjz+WL+lCxKeS4L94qevGys3b2lTXwWnUGLVpknOf9Sfa6/M7ceiDL7 /HB6ITq+WzWXqN0AQlisMDg1t1MQZnuxjc053IC3CvZC98sfBPdr0BGrEOdpHxsWiXNqLv Ttu+Bd0C6FGBEIxyy0i8gHVNBX0Morv+RfVvSvxL8QwhOGPHEaU3HsDRICp7oQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704951267; a=rsa-sha256; cv=none; b=iKUZnSmConCeQ6kge7TWTZ24eduirMI+DTKdOt/yQxgna7xNQTawUbiCZFSlTggK9IeL0T 9exUgoxEt+gMtsiXKUtnhnC5hKCm9GdW7sXfv9EbgMwEyeG5QI9ru7GHZmaFUIOxyjwekL PI98+4yuItYlhtPdwLraQxAfqiyPvflDTtdAz0kRUwXi5jhMwyLU0K9KetOtvI/SH9VERm Y14lhZHr+99JI05ZTQlBg0xdG6bGbne09YrTHzGVqpYuVpR0JIPeYU0mx7AFVCRLuT76zB 9H+/JqxKK2SgbkHWhrqZY/DmHJT5PkRAPXX1k0I5OIhvIByr+emRNkvyuL45XA== 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 4T9YJL5w1fz1601; Thu, 11 Jan 2024 05:34:26 +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 40B5YQGa009765; Thu, 11 Jan 2024 05:34:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40B5YQxb009762; Thu, 11 Jan 2024 05:34:26 GMT (envelope-from git) Date: Thu, 11 Jan 2024 05:34:26 GMT Message-Id: <202401110534.40B5YQxb009762@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: 0e3fce67f1e5 - stable/13 - cxgbe(4): Allow tracing filters on loopback ports. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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: 0e3fce67f1e5899be93f334022803ce9a52e7a13 Auto-Submitted: auto-generated The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=0e3fce67f1e5899be93f334022803ce9a52e7a13 commit 0e3fce67f1e5899be93f334022803ce9a52e7a13 Author: Navdeep Parhar AuthorDate: 2023-04-02 00:16:02 +0000 Commit: Navdeep Parhar CommitDate: 2024-01-11 05:06:58 +0000 cxgbe(4): Allow tracing filters on loopback ports. Each physical port has an associated loopback tx channel and anything transmitted over that channel by the driver is looped back internally by the hardware as if received on that physical port. This change allows tracing filters to be installed in this loopback path. Sponsored by: Chelsio Communications (cherry picked from commit 9f354cd3d0170f0deba2a548e7894d48aa67ee23) --- sys/dev/cxgbe/t4_tracer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_tracer.c b/sys/dev/cxgbe/t4_tracer.c index db5b1d27becb..adb6d89b6362 100644 --- a/sys/dev/cxgbe/t4_tracer.c +++ b/sys/dev/cxgbe/t4_tracer.c @@ -387,7 +387,8 @@ t4_set_tracer(struct adapter *sc, struct t4_tracer *t) goto done; } tp.port = sc->port[t->tp.port - 4]->tx_chan + 4; - } + } else + tp.port = t->tp.port; tpp = &tp; done: if (rc == 0) {