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 10C821A3145 for ; Mon, 26 May 2025 04:29:21 +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=1748233762; cv=none; b=KKOGoHzI1WtmbYS9moYz4tXhy9Lq34r8pUirjxY7hj+KgiNWqFszXEQ7gbO7tokfYmNOlvvnjPiOcDZSE78Ky8hFyonKnnuZzVY2oVz7gyZg/KSB53moQ3cagrre8qQQePSiwwikkZtySxy0omCWW3LRb+Ykt0JOHuwZO3lPg7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748233762; c=relaxed/simple; bh=M1ixOlJ2L4Z4CgWFDLijLLB0IiPhfAHWva39O+qwyO8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JQJY5EMnEHFEt4ECiDZIjyhYRCsLg/oiRxWnaaxPbSl+8AO6p2ssbB0XLQgN1ScpVk6ICIA9uiITWwofWVwUm76Bi2xEsBB0yd1/1l3NHuwynwdyp6bwVv+o16Qa5q4DSwUoe/mS5lFvYaeIJ1NT5YD+Q86KZmeBDmnvfGKmTwk= 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=BWn7ITHV; 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="BWn7ITHV" 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=zkt+bGwsIpVd+FthqxG3reCZb8L9GsEHpQz9GTXXQh4=; t=1748233761; x=1749097761; b=BWn7ITHVGQxGW67xCO3lRFNJShhHeq+qobcjurKk8qgXdsXql418zG8C8izAHqIWiIkem3QwnHt 5OGN4SyhI/Pa2tqBGI8GbpG2FtjwbQvvclDqK68D2FvxlvTEyUq0D9aMcRv39wZWhxpftnsKAOVKn OtLAioxAlA1po6kIf1sEidZKzRpM5tXJdVQPcnpTd5y7wEcvW/HAkhU5tciN1HPW+/iipA+Ow662Z beUxQoZOI8timCSecC+vtjLAWK+u4PUoqr3rDxiJZaM5Wjfa1PgPRGZgZFnFpuHPQORVeEE1lyFGV xv/CI2VKqujBGpxUeSAXgGxBlDAc3GbN9cXg==; Received: from 70-228-78-207.lightspeed.sntcca.sbcglobal.net ([70.228.78.207]:54961 helo=localhost.localdomain) 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 1uJPSi-0006Qy-3C; Sun, 25 May 2025 21:29:20 -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 v9 15/15] net: homa: create Makefile and Kconfig Date: Sun, 25 May 2025 21:28:17 -0700 Message-ID: <20250526042819.2526-16-ouster@cs.stanford.edu> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20250526042819.2526-1-ouster@cs.stanford.edu> References: <20250526042819.2526-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: -1.0 X-Spam-Level: X-Scan-Signature: 50c535147b6e7155177bcd7d65214eb3 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 | 16 ++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 net/homa/Kconfig create mode 100644 net/homa/Makefile diff --git a/net/Kconfig b/net/Kconfig index c3fca69a7c83..d6df0595d1d5 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -247,6 +247,7 @@ endif source "net/dccp/Kconfig" 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 60ed5190eda8..516b17d0bc6f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -44,6 +44,7 @@ obj-y += 8021q/ endif obj-$(CONFIG_IP_DCCP) += dccp/ 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..8ce5fbf08258 --- /dev/null +++ b/net/homa/Kconfig @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: BSD-2-Clause +# +# 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..ed894ebab176 --- /dev/null +++ b/net/homa/Makefile @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: BSD-2-Clause +# +# 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_pacer.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