From nobody Mon Sep 16 10:56:50 2024 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 4X6hgQ3mnVz5X8fG; Mon, 16 Sep 2024 10:56:50 +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 4X6hgQ30c5z4psQ; Mon, 16 Sep 2024 10:56:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726484210; 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=Fma71yPJi5DriRDQqkrnCVOOdWRuXNhRnCoGoKgpuHk=; b=ysS3sBn8WUDsQf9u9fNQqr3uh27NwTgTvX0BXhODMxoCoqkLu8UqK0bdKuu+zN6VxO8Pem modoQgB175hKqC3WA76tYW9vUNq+2kgKXAe1l7BaAqKW7hQ6vqVeflr/oT02KUwLuBq1M7 QloR57xRAcSIr2qiGPh1vGRZEwjaXLxu+2hb3rfv9EY3RNoF3lEVjPnevL2q0OsaQDkDDw eqeexNNApsNB2VX3S1Lo/KAex/P2f4wKMUp/gNsuexRqBReozeQeHGZATBhP2BA31cSsiZ wmsM5lhEXNtYK7C6cvnBqwcSe3Z7CAGycFIDaCCFmnpnTKBr5A9COwMFYXXMzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726484210; a=rsa-sha256; cv=none; b=Br548syjnUwkHXR/oDofdMOqM4m/RLLyKkMu8XrBiQQjIlCudM6WOenuasSdh1U4yBcvei mJkCLNRn820i+wGEQlbSj5w2ilRkRMut0Uy9XvTiLnGLkxoSm1rAUsVI53/+ABrLJBTqef fCvMP6Sk0KMSasxXFLDuvF6lky8McctALByeeDKv7sO8mm/GUmuhg84L/L8MlCL2jIMqUM IABW5Bkym/Ld8v7xdH9O5AcmsunAVCoXrY02y0jNdbuFoQb9OEmKSowQhKkyBpuAmKKypW 2SQmUxhgYdN2R74/rbzXzgoHIWaGGeH/U7ioEXpo6skFIH3Zv6qGPP5mchnm4A== 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=1726484210; 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=Fma71yPJi5DriRDQqkrnCVOOdWRuXNhRnCoGoKgpuHk=; b=oqg2zpS2mE12fggSZ5VW1vcL1DSCHxvlWn0jQ77VRoH8uNDzle2IEX2GY4gLtrjxpVXs4b WKIOnorIMoZNqvPx/HJYealgXFREr+APAGuYzRZZAMd5QxjBg8z4qYg5asmVlzvq9mslgB uLfOZXW0r0FBq2+CnjdGOcZ286u0M1Zp0Oaoa5jLukGOFB1WUVpMEF0ERJxO4CevC1Ur+3 xwJxws9cytersNNZGPBL0+7QRXvNHncKdVbrTh8/36i9o8TTqBKlOyj1dC6DNz9hNeHHc2 T1uHhTURscHpLUOmtATogWSXSqj8WF2zt14cFA9VPYF8ooB0c3Gyy5wbqVGpQg== 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 4X6hgQ1HJnzrsq; Mon, 16 Sep 2024 10:56: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 48GAuoP7099066; Mon, 16 Sep 2024 10:56:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48GAuolv099063; Mon, 16 Sep 2024 10:56:50 GMT (envelope-from git) Date: Mon, 16 Sep 2024 10:56:50 GMT Message-Id: <202409161056.48GAuolv099063@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: 1c6bb4c5789c - main - tcp: remove TCP_OFFLOAD_DISABLE 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c6bb4c5789c180d09653c04c6267cee5844b287 Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=1c6bb4c5789c180d09653c04c6267cee5844b287 commit 1c6bb4c5789c180d09653c04c6267cee5844b287 Author: Michael Tuexen AuthorDate: 2024-09-15 09:44:49 +0000 Commit: Michael Tuexen CommitDate: 2024-09-15 09:44:49 +0000 tcp: remove TCP_OFFLOAD_DISABLE TCP_OFFLOAD_DISABLE is nowhere else used or defined. So remove it. No functional change intended. Reviewed by: np MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46669 --- sys/netinet/tcp_syncache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_syncache.h b/sys/netinet/tcp_syncache.h index e6485f42c0e4..55e062e35a54 100644 --- a/sys/netinet/tcp_syncache.h +++ b/sys/netinet/tcp_syncache.h @@ -67,7 +67,7 @@ struct syncache { u_int8_t sc_requested_s_scale:4, sc_requested_r_scale:4; u_int16_t sc_flags; -#if defined(TCP_OFFLOAD) || !defined(TCP_OFFLOAD_DISABLE) +#if defined(TCP_OFFLOAD) struct toedev *sc_tod; /* entry added by this TOE */ void *sc_todctx; /* TOE driver context */ #endif