From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id CC5441FF184 for ; Thu, 18 Dec 2025 14:25:34 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8A5161C938; Thu, 18 Dec 2025 14:26:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= syntaxhighlighted.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to; s=fm3; t= 1765984261; x=1766070661; bh=97Hb5PPpbSnSBxe/owO29vv2tX3fNM6x84p HJfIX98Y=; b=ZVeoY87/DXMBB+67P6ROkkA6EyLREoEECGYXWSB8UjGVdj38U3u Wl2lSi9SbrAoEDGvzCJuVbk6Fu/dwyCdKX01bywiMHCrVc9Bdw9sCijPkiY7iDPT eane7nrYtRh5q7fGwheKWFtno+6C5QGpz02um8eKmJzJFYU+rEWNQM72TPKfvl5h og9DRT0mzDINojO88Bk6LwBbAyC1CDS4zt+1pQmBNgHel0McC7FltXCgDqLTV8Ij ACWDTrmI+rhoUqcurwMhBVdmX/ggtNBlKCK4p55NoUIIcG5V8hPeUy3xvXDQwa0M eU0McOq/8BUE+SmF2AF9Ffk0BeI79PxgMuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1765984261; x=1766070661; bh=97Hb5PPpbSnSBxe/owO29vv2tX3fNM6x84p HJfIX98Y=; b=GD3vVTdoV3vT1SNTAajrYp5T1gYH4Bhbk/PaoVmwUIeF9W9S1EU 3Q+ZK1LlY3/RE0JITy8zBi4au/x3pbT+vjPAXVDgENDnryXv4rUDy4ta3HZC6O6Y 6s7ZqpAbPZ3/f6fn4iVn6dehRozJoTUdBMslQhuyP4+YCI8qNx47ySZdCZPY0uCz irWYeFoN73orpbi2r5SeF+u4212wve+WeHMPB/B5cxiF57R9Ny+LYHp6BWNkNzPW P/qBZdCF7ikeCUO0KqS5qLQ3r8eKXeoK8XLxGOCaa38tcDT27mjlZsTCdOraXkxP +D4AU2SJdY1fgrAMjqWat44lS/ReygyqbWg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdegvdeklecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttd enucfhrhhomhepmfhriiihshiithhofhcumfhlihhmohhnuggruceokhhklhhimhhonhgu rgesshihnhhtrgighhhighhhlhhighhhthgvugdrtghomheqnecuggftrfgrthhtvghrnh epteduieeufeefhfefhfejuedvjeetgeeiteelfedtheefudefgeejkedvhfefiefgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhklhhimh honhgurgesshihnhhtrgighhhighhhlhhighhhthgvugdrtghomhdpnhgspghrtghpthht ohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphhvvgdquggvvhgvlheslh hishhtshdrphhrohigmhhogidrtghomhdprhgtphhtthhopehkkhhlihhmohhnuggrsehs hihnthgrgihhihhghhhlihhghhhtvggurdgtohhm X-ME-Proxy: Feedback-ID: i3888429f:Fastmail From: Krzysztof Klimonda To: pve-devel@lists.proxmox.com Date: Wed, 17 Dec 2025 16:10:39 +0100 Message-ID: <20251217151040.34005-1-kklimonda@syntaxhighlighted.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_MISSING 0.1 Missing DMARC policy RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLACK 3 Contains an URL listed in the URIBL blacklist [plugin.pm] X-Mailman-Approved-At: Thu, 18 Dec 2025 14:26:19 +0100 Subject: [pve-devel] [PATCH sdn 0/1] fix #7152: avoid repeated ip link calls during SDN configuration X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Krzysztof Klimonda Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" This patch addresses issue #7152 where repeated calls to PVE::INotify::read_etc_network_interfaces (which internally spawns ip -details -json link show) were slowing down SDN configuration. Reuse the interfaces configuration already prepared in Controllers::generate_frr_config and pass it through to the functions that need it. Krzysztof Klimonda (1): fix #7152: sdn: pass interfaces config to avoid repeated ip link calls src/PVE/Network/SDN/Controllers.pm | 4 ++-- src/PVE/Network/SDN/Controllers/BgpPlugin.pm | 4 ++-- src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 8 ++++---- src/PVE/Network/SDN/Controllers/IsisPlugin.pm | 4 ++-- src/PVE/Network/SDN/Controllers/Plugin.pm | 4 ++-- src/PVE/Network/SDN/Zones/EvpnPlugin.pmh | 2 +- src/PVE/Network/SDN/Zones/Plugin.pm | 5 ++--- src/PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +- 8 files changed, 16 insertions(+), 17 deletions(-) -- 2.52.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel