From nobody Thu Mar 30 21:16:09 2023 X-Original-To: dev-commits-src-main@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 4PnbnQ10rrz42Lh1; Thu, 30 Mar 2023 21:16:10 +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 4PnbnQ0W7bz3sxk; Thu, 30 Mar 2023 21:16:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680210970; 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=9DmAccijFg7JLsKM6zOb1JiXOM66dA9/OfKROTgaUQE=; b=BTC4hlYcmYSk9q21UeSDoQBMdf6uw/lXoclsmQLrnkwvgN+xayRh1b1VrrpBe6tjepgfEE 9+UKLuqK++FqLgDcxLFmV0YU0YZSkdB69qMwPLFZe/s+JFJTjJhy76p4GZB/05nQKAb3z+ 5/MZ+Q38FPjvUm62BFToBY+AhPUBi6EvYXJy69iSlbRjeRH3X0poXy8tNHQPnfq1tAUtOF QGkt505/ivITU1tPPvGcm49OEOi+DGLPWELbS3YaAVD0CaV+WoeRXLdv0Sc+ZLp8YbynH+ U/b2/rAyISiNXqTxMUCCtN+2MwyVnsMTCyIFJx1F9XVzaEeEBBWIJLEWkqqygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680210970; 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=9DmAccijFg7JLsKM6zOb1JiXOM66dA9/OfKROTgaUQE=; b=V51AA27oHM/aPBXA5xKY9ZnAaIdEDhUSXeMyw0FikjAp8W3Zxg710O+VOFXevC+FuMsg10 ggbx0JkNo9dSKwYJtmu3KCg9QMAJCQPJJROXZewB5BKazjUu+LdaSkchUXi2wJ3C7G7TWq GBdWMCdteKAhCayvv5VLrCJIUm6/QJZgcMYbHrWdSWdRCExdtqWPFDv8SJ/A+3DOh2QN4Q g9vP3kCNsxiZ97OTgk06KlRE3IqfdCoXesht1YfhAcEMt4CznfN/0ZD4W7GnDnMzZ458pp bZ1m1VcT40qz3Nt5aNibxSljOqKn9wz1/xHu/J9pGfr0mVPUNABr54Jz/oUGyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680210970; a=rsa-sha256; cv=none; b=M94Ysq8WvbH0/9CltqhXIFT9XRU3Pb7aXfLOlERCqySD3upaQmmbWKOHtat/TNZEKX51qv +DfIhnh0JpeQ+bvwdeJVr2JyUDsaDoJjTqalgdUCxzsuwGTnZEjEGTleOIE9K+4Lq/YqD+ Nv/o9g953lYY90t8QiUFVg13hTq6HhB+18F/G8Hsc1wIq13e/NNLlPe2uXOVHqFXJCCwc/ 7mEKAqirAAjC7UBaRUfYqAWnDOgvSED/Ia6Yv4Q9PidWsi7senNb4AkLCNuBxaygxNcFOL lwoZzfy7dPsUKNPdXz8UQQC6iOIfiPduw+Aa/TfcZcNe/yzIChYpv6d9GwE5pA== 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 4PnbnP6gbjzRVY; Thu, 30 Mar 2023 21:16:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32ULG9vr037342; Thu, 30 Mar 2023 21:16:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32ULG9NG037341; Thu, 30 Mar 2023 21:16:09 GMT (envelope-from git) Date: Thu, 30 Mar 2023 21:16:09 GMT Message-Id: <202303302116.32ULG9NG037341@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: 21b778fbeb93 - main - cxgbe(4): Remove dead code. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac commit 21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac Author: Navdeep Parhar AuthorDate: 2023-03-30 18:43:43 +0000 Commit: Navdeep Parhar CommitDate: 2023-03-30 21:13:07 +0000 cxgbe(4): Remove dead code. Fixes: e7e084442227 cxgbe(4): Replace T4_PKT_TIMESTAMP with something slightly less hackish. MFC after: 1 week Sponsored by: Chelsio Communications --- sys/dev/cxgbe/t4_sge.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index 89d8f1b0462a..af76262fc197 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -81,11 +81,7 @@ __FBSDID("$FreeBSD$"); #include "t4_l2t.h" #include "t4_mp_ring.h" -#ifdef T4_PKT_TIMESTAMP -#define RX_COPY_THRESHOLD (MINCLSIZE - 8) -#else #define RX_COPY_THRESHOLD MINCLSIZE -#endif /* * Ethernet frames are DMA'd at this byte offset into the freelist buffer.