🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #703

[RFC net-next 10/12] net: pon: build the PON subsystem

#703
From: John Crispin
Date: Thu, 08 Oct 2026 14:32
79 lines
6944 bytes
Add CONFIG_PON (a tristate) and the Makefile of the core. Hook net/pon
into net/Kconfig and net/Makefile.

The build is wired last, so every commit before it builds and the
series bisects.

Assisted-by: LLM
Signed-off-by: John Crispin <john@phrozen.org>
---
 net/Kconfig      |  1 +
 net/Makefile     |  1 +
 net/pon/Kconfig  | 17 +++++++++++++++++
 net/pon/Makefile |  6 ++++++
 4 files changed, 25 insertions(+)
 create mode 100644 net/pon/Kconfig
 create mode 100644 net/pon/Makefile

diff --git a/net/Kconfig b/net/Kconfig
index 76ab44aa439a..117845100a06 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -82,6 +82,7 @@ menu "Networking options"
 
 source "net/packet/Kconfig"
 source "net/psp/Kconfig"
+source "net/pon/Kconfig"
 source "net/unix/Kconfig"
 source "net/tls/Kconfig"
 source "net/xfrm/Kconfig"
diff --git a/net/Makefile b/net/Makefile
index 5b2dd7f07a85..757650c5428d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -19,6 +19,7 @@ obj-$(CONFIG_TLS)		+= tls/
 obj-$(CONFIG_XFRM)		+= xfrm/
 obj-$(CONFIG_UNIX)		+= unix/
 obj-$(CONFIG_INET_PSP)		+= psp/
+obj-$(CONFIG_PON)		+= pon/
 obj-y				+= ipv6/
 obj-$(CONFIG_PACKET)		+= packet/
 obj-$(CONFIG_NET_KEY)		+= key/
diff --git a/net/pon/Kconfig b/net/pon/Kconfig
new file mode 100644
index 000000000000..af40d4ebd938
--- /dev/null
+++ b/net/pon/Kconfig
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# PON subsystem configuration
+#
+config PON
+	tristate "Passive Optical Network (PON) device support"
+	depends on NET
+	help
+	  Enable kernel support for PON (GPON / XG(S)-PON) ONU devices: the
+	  netlink configuration family (which also carries the OMCI
+	  management channel to a userspace OMCI stack) and per GEM port
+	  virtual devices.
+
+	  To compile this as a module, choose M here: the module will be
+	  called pon.
+
+	  If unsure, say N.
diff --git a/net/pon/Makefile b/net/pon/Makefile
new file mode 100644
index 000000000000..4b23d2265be9
--- /dev/null
+++ b/net/pon/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+obj-$(CONFIG_PON) += pon.o
+
+pon-y := pon_main.o pon_nl.o pon_omci.o pon_gem.o pon_conduit.o \
+	 pon_work.o pon_state.o pon_ploam_msg.o pon-nl-gen.o
-- 
2.34.1
Technical Details
Message-ID: <20261008143249.3439762-11-john@phrozen.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343033-linux-kernel-netdev=dewy.ru
References: <20261008143249.3439762-1-john@phrozen.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343033-linux-kernel-netdev=dewy.ru
From: john@phrozen.org (John Crispin)
Newsgroups: linux.kernel.netdev
Subject: [RFC net-next 10/12] net: pon: build the PON subsystem
Date: Thu,  8 Oct 2026 16:32:47 +0200
Organization: Usenet Network
Message-ID: <20261008143249.3439762-11-john@phrozen.org>
References: <20261008143249.3439762-1-john@phrozen.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="899077"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:oOqcvQgcdI+iL6z9WBgpUqGFivI= sha256:IqWt/pzDDSf/dq2NRw5+jtVAr/g+Zp7ItJgQgKrhynk=
	sha1:0YXwPQ14SIuOT7KkqoGYqf+vNnE= sha256:IklwEA/CO7zx81rApjoQdiZVYn4CipmAHeQpc6Mf9eA=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 8831B10F419; Thu,  8 Oct 2026 17:34:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OR0Aaj2vNHOu;
	Thu,  8 Oct 2026 17:34:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343033-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=phrozen.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 78DAB10F3A0; Thu,  8 Oct 2026 17:34:33 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id EA4103D9D7; Thu,  8 Oct 2026 14:33:33 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 63C814B0E28;
	Thu,  8 Oct 2026 14:33:23 +0000 (UTC)
X-Received: from nbd.name (nbd.name [46.4.11.11])
	(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 6D4AA4AD4B9;
	Thu,  8 Oct 2026 14:33:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791470003; cv=none; b=U8qcVIuD4yQipYAcLEbSUMWYm7QdqAdc1Bz+gImoCJ1lbszZIYXLVKsKpNUD2ovKoKQVjbzZstFtiVldkE1Dsj55YdarawTk4+2cC8oheVn4P58K4uTE6l2WlBSMK2M4IUuk1q/RfiNb3YwkfRjhmTyItmY5XTB5d6yHrt9Uczw=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791470003; c=relaxed/simple;
	bh=a+d5IY7w3QE/RZd8DbMKk3VQEiD0Sl4OXir9UTWYpaI=;
	h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
	 MIME-Version; b=B8gQTFVUHn7AR8Q2kvpkIEXXIjdIAuMlbwv5Wtsp53O51gESoEBfxasWKoyVPapMxaGDPWopXhCny1KTVmIeB9o5NrjZBclgzm9DUjkex9xOUv17CUM11Pa35Y9tZKRPuvN0UFUZ/XRswBWAPugq/OgYPlA2vIqPRgQBLJBXEsE=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org; spf=pass smtp.mailfrom=phrozen.org; arc=none smtp.client-ip=46.4.11.11
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phrozen.org
X-Received: from [2a04:4540:1400:26fc:ddc6:af15:b0f7:2808] (helo=bertha10..)
	by ds12 with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.96)
	(envelope-from <john@phrozen.org>)
	id 1xEpBD-000l4X-2k;
	Thu, 08 Oct 2026 16:33:07 +0200
X-Cc: Simon Horman <horms@kernel.org>,
	linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Christian Marangi <ansuelsmth@gmail.com>
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <20261008143249.3439762-1-john@phrozen.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>