From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.cs.Stanford.EDU (smtp1.cs.stanford.edu [171.64.64.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E5C9358364 for ; Tue, 28 Apr 2026 23:15:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=171.64.64.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777418158; cv=none; b=EmzzKbFNwgeBaZZLeXZ03sPgpxK9wt+Xt+HBHEQJtIituwghHoLR9NJ+KiF2e6A4aBAboMvU7C7tA+Yp48qHMfKDsk3tmBdmLEuyrHZCqGGP7PDlTiT93LyAEWY+nDdJJBioNhRVb32wIergGRouqLDZeCr37NMK4as0xl3Zc1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777418158; c=relaxed/simple; bh=W5bRtd2U+mL1k2VOVn+2gww203iqCB2VOx2OqeWIWPc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WftE7IdvnyMrGa1luLFnmnCo7flyJldaKvIEa4vUvrHeKYiVeM90ucyna3qm0ztPZjm3d2+BdO46ynoBRyPONFZnYFMN1w9H6IDkezBQm8IQAWK/wraer4iQpGYXfrOsZNwtO1QZZ/cOJJv1rqnYPfA4a7Ltn6F4zZziHHjMR0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cs.stanford.edu; spf=pass smtp.mailfrom=cs.stanford.edu; dkim=pass (2048-bit key) header.d=cs.stanford.edu header.i=@cs.stanford.edu header.b=quGff61R; arc=none smtp.client-ip=171.64.64.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cs.stanford.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cs.stanford.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cs.stanford.edu header.i=@cs.stanford.edu header.b="quGff61R" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.stanford.edu; s=cs2308; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=786ZDDCXOpwJQKikZypbIwGSNxfZNuUmyllvPIwINgw=; t=1777418157; x=1778282157; b=quGff61R+d8jSdbO9zfLd29sg7k+vpNutTq+v/VM0GK9U0kUosvheKC9RHY1XIpt/iFFAASkS0j 9gB0AvTtOv0HXRqBN5ITBP6zkyj1b32inOD3xuB85DxOSa5yN2Zt11Hs7DFtYM36CO/GnUxpGyYWl lUS8V28XdQGuT0nQSd5NBotP9GBI6EO5US+4djOC4lXMHlfZserDrDzhzG3+p7PMBpKMiDBohQbIe F6Q9PnZTJfvb0NBeIO15fBJ34paMJRcR73DGn5gMlCyulf/m5A8ZqkIEX5IwSkCXpLpjCO7OX1Awt BRSZR8ghNwpKvP2fLw79yv82zeEhZl/kpddg==; Received: from ouster448.stanford.edu ([172.24.72.71]:54475 helo=ouster2022) by smtp1.cs.Stanford.EDU with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1wHrem-0005UM-1Q; Tue, 28 Apr 2026 16:15:57 -0700 From: John Ousterhout To: netdev@vger.kernel.org Cc: pabeni@redhat.com, edumazet@google.com, horms@kernel.org, kuba@kernel.org, John Ousterhout Subject: [PATCH net-next v19 15/15] net: homa: create Makefile and Kconfig Date: Tue, 28 Apr 2026 16:15:18 -0700 Message-ID: <20260428231520.1857-16-ouster@cs.stanford.edu> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260428231520.1857-1-ouster@cs.stanford.edu> References: <20260428231520.1857-1-ouster@cs.stanford.edu> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -101.1 X-Scan-Signature: 1a99e790efc5595ebc7b409aae77a077 Before this commit the Homa code is "inert": it won't be compiled in kernel builds. This commit adds Homa's Makefile and Kconfig, and also links Homa into net/Makefile and net/Kconfig, so that Homa will be built during kernel builds if enabled (it is disabled by default). Signed-off-by: John Ousterhout --- net/Kconfig | 1 + net/Makefile | 1 + net/homa/Kconfig | 21 +++++++++++++++++++++ net/homa/Makefile | 15 +++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 net/homa/Kconfig create mode 100644 net/homa/Makefile diff --git a/net/Kconfig b/net/Kconfig index bdea8aef7983..f28b8d77c351 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -252,6 +252,7 @@ source "net/bridge/netfilter/Kconfig" endif # if NETFILTER source "net/sctp/Kconfig" +source "net/homa/Kconfig" source "net/rds/Kconfig" source "net/tipc/Kconfig" source "net/atm/Kconfig" diff --git a/net/Makefile b/net/Makefile index d2175fce0406..26835bcfc1e7 100644 --- a/net/Makefile +++ b/net/Makefile @@ -41,6 +41,7 @@ ifneq ($(CONFIG_VLAN_8021Q),) obj-y += 8021q/ endif obj-$(CONFIG_IP_SCTP) += sctp/ +obj-$(CONFIG_HOMA) += homa/ obj-$(CONFIG_RDS) += rds/ obj-$(CONFIG_WIRELESS) += wireless/ obj-$(CONFIG_MAC80211) += mac80211/ diff --git a/net/homa/Kconfig b/net/homa/Kconfig new file mode 100644 index 000000000000..16fec3fd52ba --- /dev/null +++ b/net/homa/Kconfig @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: BSD-2-Clause or GPL-2.0+ +# +# Homa transport protocol +# + +menuconfig HOMA + tristate "The Homa transport protocol" + depends on INET + depends on IPV6 + + help + Homa is a network transport protocol for communication within + a datacenter. It provides significantly lower latency than TCP, + particularly for workloads containing a mixture of large and small + messages operating at high network utilization. At present, Homa + has been only partially upstreamed; this version provides bare-bones + functionality but is not performant. For more information see the + homa(7) man page or checkout the Homa Wiki at + https://homa-transport.atlassian.net/wiki/spaces/HOMA/overview. + + If unsure, say N. diff --git a/net/homa/Makefile b/net/homa/Makefile new file mode 100644 index 000000000000..1e02be7f69d6 --- /dev/null +++ b/net/homa/Makefile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: BSD-2-Clause or GPL-2.0+ +# +# Makefile for the Linux implementation of the Homa transport protocol. + +obj-$(CONFIG_HOMA) := homa.o +homa-y:= homa_incoming.o \ + homa_interest.o \ + homa_outgoing.o \ + homa_peer.o \ + homa_plumbing.o \ + homa_pool.o \ + homa_rpc.o \ + homa_sock.o \ + homa_timer.o \ + homa_utils.o -- 2.43.0