From patchwork Mon Nov 14 16:47:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1703672 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N9wGW5wwjz1yqS for ; Tue, 15 Nov 2022 03:47:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4D4AD60DFC; Mon, 14 Nov 2022 16:47:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4D4AD60DFC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id reVehUcIDPje; Mon, 14 Nov 2022 16:47:44 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 73AA160792; Mon, 14 Nov 2022 16:47:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 73AA160792 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 27CE7C0033; Mon, 14 Nov 2022 16:47:43 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 624ABC002D for ; Mon, 14 Nov 2022 16:47:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3DE9E81BB4 for ; Mon, 14 Nov 2022 16:47:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3DE9E81BB4 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MaEOd0og0YPS for ; Mon, 14 Nov 2022 16:47:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5060981BB2 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by smtp1.osuosl.org (Postfix) with ESMTPS id 5060981BB2 for ; Mon, 14 Nov 2022 16:47:41 +0000 (UTC) Received: (Authenticated sender: numans@ovn.org) by mail.gandi.net (Postfix) with ESMTPSA id 3C112240007; Mon, 14 Nov 2022 16:47:35 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Mon, 14 Nov 2022 11:47:16 -0500 Message-Id: <20221114164716.88706-1-numans@ovn.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn v2 0/2] northd IP for address sets X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" From: Numan Siddique This patch series adds incremental processing of address sets in ovn-northd. v1 -> v2 ------- - Added the test case in ovn-northd.at - Full recompute function of address sets will also use mutate instead of setting all the addresses of the address set. Numan Siddique (2): northd IP: Add a new engine node 'en_sb_sync' to sync SB tables. northd: Add I-P for syncing SB address sets. lib/ovn-util.c | 30 +++ lib/ovn-util.h | 3 + northd/automake.mk | 4 + northd/en-northd-output.c | 57 ++++++ northd/en-northd-output.h | 17 ++ northd/en-sb-sync.c | 402 ++++++++++++++++++++++++++++++++++++++ northd/en-sb-sync.h | 20 ++ northd/inc-proc-northd.c | 42 +++- northd/northd.c | 173 +--------------- northd/northd.h | 1 + tests/ovn-northd.at | 52 +++++ 11 files changed, 636 insertions(+), 165 deletions(-) create mode 100644 northd/en-northd-output.c create mode 100644 northd/en-northd-output.h create mode 100644 northd/en-sb-sync.c create mode 100644 northd/en-sb-sync.h