From nobody Thu Oct 31 13:43:00 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 4XfQDN417vz5bjby; Thu, 31 Oct 2024 13:43:00 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfQDN3VYyz4vDt; Thu, 31 Oct 2024 13:43:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730382180; 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=NMVCX2Y2Oau58E75QRckYMSsQVW8VuuZftM4Em3AMQc=; b=v6FDV5MkXtShcgNt8qqOnBk1hhhMnMbAmACnBe8UOxGQlGxdgn9DyNignZCdS1fPjV7nJ0 s6M9q/GOKTz9kuQYk1SGRihEOiMLcApTeBKeH/49XHHiZyucIMH6tagpHQF/uKoXGKtLtB 67e4XEcHVEf69erhQMBKhCtOiQSa1AQa0JYxzs6G0ymWCpp45+LnhPK0+Rw8wlTnsjGtv4 MFJrmtWepdB2gXRq4T+MOHHMjpZQm8DYmSdmT5qnyFW4xiHMnvERKi5LbsjNkN3tlwpEVo 2FK+/zm3PAWl4/GKQ0UwTrDCE4+cFCFxce1sFjIC/m8EFkcoiyZnVS359hrFaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730382180; 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=NMVCX2Y2Oau58E75QRckYMSsQVW8VuuZftM4Em3AMQc=; b=V5XPcoFcBXn9FvtM/aSOK6gn8kjU1h5pJuMeBpWGqWxqMUfmIsf6r4A+a5sXVTTyCgK8mL vPrX7M1Juihw+TLHU4zgY6kdBRk+loS0hCGeKf0JD0BtKVSJKgP8FqBLWxKr8vO1N3Nsfj 0VW92+TK51jehAwk5PG8O3YSJamM17L/NNk+RjmNSelTWEcdWzMKC8BGa+6+9iiopg6EY0 e0A30p800NICsjKqPZesP4hSRGgDwaO8aBluo6CYGn2h1Q9aDEocU19cwXOXKEyqYmpczu I3zxQ4kYT46Tx/JAB1HIpypXgeAKR5AbwQHsyD8XasICcDgB9XC2beAvDYxorQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730382180; a=rsa-sha256; cv=none; b=Nnph1tsHgxFESONlTKFT4ttVYllPW2lCwnJ9kIx2M89oFQJWBr2GdRya9vD7eD+5TB8spm BjM8euFeOWES38sxAYYp+kcnunS75wgAMcea2qHV+HaJfeKKkwoVWoyBnxNgKrl9GSw8zh ckO0lr4F2uyGTK0koXf/uLBudx+WfT2ZVVCN6A1jxeh2R/kVOyu96n9pZPZGptoXWMQLoD ZO4uxJ1QshYmXGYmCs1ilBv2qKNJdfHoCNRkWe7sdCTDXuT4jOytkGhYMEOQP8TC8IYWQ6 qH6oTdwKtr+oTlcNcA1kH9BJPGInQvOZ2IM1KIVn8CjQjorTHkYzFfYOanYXIQ== 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 4XfQDN35q4zdgS; Thu, 31 Oct 2024 13:43:00 +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 49VDh0EG009552; Thu, 31 Oct 2024 13:43:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VDh0fs009549; Thu, 31 Oct 2024 13:43:00 GMT (envelope-from git) Date: Thu, 31 Oct 2024 13:43:00 GMT Message-Id: <202410311343.49VDh0fs009549@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 8df12a277f09 - stable/14 - tcp: make tcp_lro_flush() static 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: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 8df12a277f0912805c5f54a96a94e29c30a0efa6 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=8df12a277f0912805c5f54a96a94e29c30a0efa6 commit 8df12a277f0912805c5f54a96a94e29c30a0efa6 Author: Michael Tuexen AuthorDate: 2024-09-05 15:44:33 +0000 Commit: Michael Tuexen CommitDate: 2024-10-31 11:20:35 +0000 tcp: make tcp_lro_flush() static tcp_lro_flush() is not used anymore outside of tcp_lro.c. Therefore make it static. Reviewed by: rscheff, glebius, Peter Lei Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46435 (cherry picked from commit e06cf0fc5dd626c34acdef308b696b4995371a4b) --- sys/netinet/tcp_lro.c | 3 ++- sys/netinet/tcp_lro.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c index 906e01257a04..10afed17bf3b 100644 --- a/sys/netinet/tcp_lro.c +++ b/sys/netinet/tcp_lro.c @@ -83,6 +83,7 @@ static MALLOC_DEFINE(M_LRO, "LRO", "LRO control structures"); static void tcp_lro_rx_done(struct lro_ctrl *lc); static int tcp_lro_rx_common(struct lro_ctrl *lc, struct mbuf *m, uint32_t csum, bool use_hash); +static void tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le); SYSCTL_NODE(_net_inet_tcp, OID_AUTO, lro, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, "TCP LRO"); @@ -1104,7 +1105,7 @@ again: } } -void +static void tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le) { diff --git a/sys/netinet/tcp_lro.h b/sys/netinet/tcp_lro.h index b4b5e3f811e4..a94eca665eb5 100644 --- a/sys/netinet/tcp_lro.h +++ b/sys/netinet/tcp_lro.h @@ -216,7 +216,6 @@ int tcp_lro_init(struct lro_ctrl *); int tcp_lro_init_args(struct lro_ctrl *, struct ifnet *, unsigned, unsigned); void tcp_lro_free(struct lro_ctrl *); void tcp_lro_flush_inactive(struct lro_ctrl *, const struct timeval *); -void tcp_lro_flush(struct lro_ctrl *, struct lro_entry *); void tcp_lro_flush_all(struct lro_ctrl *); extern int (*tcp_lro_flush_tcphpts)(struct lro_ctrl *, struct lro_entry *); int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t);