From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 375EB1FF0C0 for ; Wed, 21 Oct 2026 10:48:05 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 5CCFA21819; Wed, 21 Oct 2026 10:45:54 +0200 (CEST) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-ve-rs v4 19/20] ve-config: sdn: add the ebpf dhcp backend Date: Wed, 21 Oct 2026 10:44:44 +0200 Message-ID: <20261021084445.462195-20-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261021084445.462195-1-h.laimer@proxmox.com> References: <20261021084445.462195-1-h.laimer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792572321862 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.355 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: RBM4CI74COTUUILYUPL4U7PLYVX4Z3NV X-Message-ID-Hash: RBM4CI74COTUUILYUPL4U7PLYVX4Z3NV X-MailFrom: h.laimer@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Hannes Laimer --- Notes: v4: * new proxmox-ve-config/src/sdn/config.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxmox-ve-config/src/sdn/config.rs b/proxmox-ve-config/src/sdn/config.rs index 2f30cf2..50c6947 100644 --- a/proxmox-ve-config/src/sdn/config.rs +++ b/proxmox-ve-config/src/sdn/config.rs @@ -104,6 +104,7 @@ impl Display for ZoneType { #[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] pub enum DhcpType { Dnsmasq, + Ebpf, } proxmox_serde::forward_deserialize_to_from_str!(DhcpType); proxmox_serde::forward_serialize_to_display!(DhcpType); @@ -114,6 +115,7 @@ impl FromStr for DhcpType { fn from_str(s: &str) -> Result { match s { "dnsmasq" => Ok(DhcpType::Dnsmasq), + "ebpf" => Ok(DhcpType::Ebpf), _ => Err(SdnConfigError::InvalidDhcpType), } } @@ -123,6 +125,7 @@ impl Display for DhcpType { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.write_str(match self { DhcpType::Dnsmasq => "dnsmasq", + DhcpType::Ebpf => "ebpf", }) } } -- 2.47.3