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 4E8D01FF09C for ; Mon, 02 Nov 2026 16:21:00 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4E60D21BE1; Mon, 02 Nov 2026 16:19:47 +0100 (CET) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-ve-rs v5 14/15] ve-config: sdn: add the ebpf dhcp backend Date: Mon, 2 Nov 2026 16:18:41 +0100 Message-ID: <20261102151842.1605234-15-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261102151842.1605234-1-h.laimer@proxmox.com> References: <20261102151842.1605234-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: 1793632740556 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.341 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: BBM776UBEQQ7PUWYIEH22UOIF7DT5IRH X-Message-ID-Hash: BBM776UBEQQ7PUWYIEH22UOIF7DT5IRH 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