public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: John Ousterhout <ouster@cs.stanford.edu>
To: netdev@vger.kernel.org
Cc: pabeni@redhat.com, edumazet@google.com, horms@kernel.org,
	kuba@kernel.org, John Ousterhout <ouster@cs.stanford.edu>
Subject: [PATCH net-next v18 15/15] net: homa: create Makefile and Kconfig
Date: Fri, 10 Apr 2026 13:03:09 -0700	[thread overview]
Message-ID: <20260410200310.1915-16-ouster@cs.stanford.edu> (raw)
In-Reply-To: <20260410200310.1915-1-ouster@cs.stanford.edu>

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 <ouster@cs.stanford.edu>
---
 net/Kconfig       |  1 +
 net/Makefile      |  1 +
 net/homa/Kconfig  | 21 +++++++++++++++++++++
 net/homa/Makefile | 11 +++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 net/homa/Kconfig
 create mode 100644 net/homa/Makefile

diff --git a/net/Kconfig b/net/Kconfig
index 62266eaf0e95..41bcc80ee9ec 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 90e3d72bf58b..17e0ba84bd15 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -44,6 +44,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..57f051d44c6b
--- /dev/null
+++ b/net/homa/Makefile
@@ -0,0 +1,11 @@
+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


      parent reply	other threads:[~2026-04-10 20:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10 20:02 [PATCH net-next v18 00/15] Begin upstreaming Homa transport protocol John Ousterhout
2026-04-10 20:02 ` [PATCH net-next v18 01/15] net: homa: define user-visible API for Homa John Ousterhout
2026-04-10 20:02 ` [PATCH net-next v18 02/15] net: homa: create homa_wire.h John Ousterhout
2026-04-10 20:02 ` [PATCH net-next v18 03/15] net: homa: create shared Homa header files John Ousterhout
2026-04-10 20:02 ` [PATCH net-next v18 04/15] net: homa: create homa_pool.h and homa_pool.c John Ousterhout
2026-04-10 20:02 ` [PATCH net-next v18 05/15] net: homa: create homa_peer.h and homa_peer.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 06/15] net: homa: create homa_sock.h and homa_sock.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 07/15] net: homa: create homa_interest.h and homa_interest.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 08/15] net: homa: create homa_rpc.h and homa_rpc.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 09/15] net: homa: create homa_outgoing.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 10/15] net: homa: create homa_utils.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 11/15] net: homa: export skb_attempt_defer_free John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 12/15] net: homa: create homa_incoming.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 13/15] net: homa: create homa_timer.c John Ousterhout
2026-04-10 20:03 ` [PATCH net-next v18 14/15] net: homa: create homa_plumbing.c John Ousterhout
2026-04-10 20:03 ` John Ousterhout [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260410200310.1915-16-ouster@cs.stanford.edu \
    --to=ouster@cs.stanford.edu \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox