From nobody Thu Sep 05 15:48:01 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 4X03fV0z0Gz5WGlr; Thu, 05 Sep 2024 15:48:02 +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 4X03fV0Snhz4l8t; Thu, 5 Sep 2024 15:48:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725551282; 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=jxaRg/QawSlK6U+ZZTQmFhbhOZKhdTMSXODXJO24ffM=; b=pL7RCe/1FWbj4wHm74+fUTxdecgooIdzskUMTvdsLbsApyJzqtSyJVfKdbeNFJ0Fl0z675 5Vk94Qf8HBykr1XAzqoaWYs3Livln6zck4hZsbGG0Vi7K8kns/VA9nEiT8Qp3BO5w3kx2L jOKDl4zj1TOEdBAbG63OXZu5WDc1e16+iWmknbUFEWwEUvHtVHSE1dkJLM6tsmiH6DFi1Y xpifhdUSywsDYr0tQdpH+TduVik78R/SP+5bZA5OBrGOHAnEWka8kO4lltwE7ACDNvh9zc Lv08JaJB5uW0JVJvwWuCCN/pg9OnwEZw3YDgbB6SRE/uCQKK61d/r5/fYl0CVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725551282; a=rsa-sha256; cv=none; b=C6rL+Ih/Xbv9RZvyQSIMX+qPVXZ1OwqNZIgvrXELePKwaIIE8fJI9fyRzJhhy2hNdxRsPJ N9m2FFpbOrZTRv+5eh0uqTnmMIxR20hbiLDIpc8rLm+MKgR/DCTaO+hS1RV/CFKRe//qOf R3l7hCTvOIJOmoKgcHzhccl6NTEF5VwK5CO3yl7EBcOgxTmnHRF0wNRTXWdhjxQwnf+6uy CgWNjd0+aLRkdrLHYbwAcJm0yDM/y3X9YhaTUYDaoarSD7ELGbwaEz7TxmeH///O87Vk62 c5hE7zWR3NCGa2SBsNM3VvJnkDpiQvsCvisIIhTQ84UAWUI8IZOYQmqcAwHnKg== 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=1725551282; 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=jxaRg/QawSlK6U+ZZTQmFhbhOZKhdTMSXODXJO24ffM=; b=wADPvMFJ9hTtyIdkiFm63pL6maK47VrOgCvzqHGu1ZgBbwJalp6HArXny5d53f6AwK2v/v +ieneC2EAA8zWllbTtjhVNivzbpn9f6/E7o/SdOcijhackK4+1QNvB8H7wRwk5li2VIg3f YkFmefw7Gd9yB+xV4E3RNOGuRuRxS9ej47f+oslDcZPantKOweDl1GClL/1KOosb/GAZi5 FV5OCczE9+0dVf+Qpqjl1hI77PKh4eUjcZDeQgUUseMGzfdOfozcElmkEsXC1yh5FYGYLK yNZmfLpeRPe5v9y7NKhOfTRVfMBOAP544kgr37FdWLdUK6AUFzguZkW0t2AYLQ== 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 4X03fV00SwzFDQ; Thu, 5 Sep 2024 15:48:02 +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 485Fm10n069758; Thu, 5 Sep 2024 15:48:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 485Fm1CP069755; Thu, 5 Sep 2024 15:48:01 GMT (envelope-from git) Date: Thu, 5 Sep 2024 15:48:01 GMT Message-Id: <202409051548.485Fm1CP069755@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: e06cf0fc5dd6 - main - tcp: make tcp_lro_flush() static 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: e06cf0fc5dd626c34acdef308b696b4995371a4b Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=e06cf0fc5dd626c34acdef308b696b4995371a4b commit e06cf0fc5dd626c34acdef308b696b4995371a4b Author: Michael Tuexen AuthorDate: 2024-09-05 15:44:33 +0000 Commit: Michael Tuexen CommitDate: 2024-09-05 15:44:33 +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 --- 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);