From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id E21921FF0DF for ; Thu, 05 Nov 2026 11:06:24 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id C3379214DF; Thu, 05 Nov 2026 11:05:25 +0100 (CET) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-ve-rs v6 15/17] ve-config: sdn: add the ebpf dhcp backend Date: Thu, 5 Nov 2026 11:03:14 +0100 Message-ID: <20261105100316.449163-16-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261105100316.449163-1-h.laimer@proxmox.com> References: <20261105100316.449163-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: 1793873083963 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.286 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: WNNHX5MMOXW5JIQCKI7TF2T6QZCMMKZ5 X-Message-ID-Hash: WNNHX5MMOXW5JIQCKI7TF2T6QZCMMKZ5 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 2f30cf2bd77c..50c6947c71fa 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