From patchwork Thu Dec 15 17:02:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladislav Odintsov X-Patchwork-Id: 1716211 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::138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=HnHf957d; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (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 4NXz7D26Xgz2403 for ; Fri, 16 Dec 2022 04:02:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 488CD8207D; Thu, 15 Dec 2022 17:02:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 488CD8207D Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=HnHf957d 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 vQ1R7FlD2ZBd; Thu, 15 Dec 2022 17:02:29 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp1.osuosl.org (Postfix) with ESMTPS id 560BB82018; Thu, 15 Dec 2022 17:02:28 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 560BB82018 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1E74EC0032; Thu, 15 Dec 2022 17:02:28 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 93A52C002D for ; Thu, 15 Dec 2022 17:02:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6EC5660B30 for ; Thu, 15 Dec 2022 17:02:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 6EC5660B30 Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=HnHf957d 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 HogM_nBkapc7 for ; Thu, 15 Dec 2022 17:02:25 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 63C9A607AA Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by smtp3.osuosl.org (Postfix) with ESMTPS id 63C9A607AA for ; Thu, 15 Dec 2022 17:02:25 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id h7so3763800wrs.6 for ; Thu, 15 Dec 2022 09:02:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UWJz/10dBwaQcrZE9qEIF7740NU/vYGeszxPA9F/PBo=; b=HnHf957dXMxN8iX+NjtvX/nWMCg41G12N6vFCPb6s1pSXW2QglfgXg2BVLuqMJ+vR7 iseGwDOs9ywYaLW7y4QsdgejQJMoNAXEdWdWiKClxtlkdrZdzlBBHPBsgTWEkvFO3bLC fu9AmALWAJX3I+Tomwv7DXjv4+15lwqdV7HNeVjcuh2RKpg7RPUThf+EbHw4wjsNUic+ RrP0nasMslH6ZoL/ktxY3vy7SLRcUuJIsJJwxAMslw51wEm3RzARUx2KY7suVVvAMtHm 2TjcLAZOiU/pImn/QczEE9QFp1FSJygFIQX/tzjwxMbmXa02c5kV5PhSO7LjqeWRR6SI mZUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UWJz/10dBwaQcrZE9qEIF7740NU/vYGeszxPA9F/PBo=; b=6ssi+SaQfQB47pstMRDSQ+h7x3jdaW0fW550Zmgk1VyungblyLDYVTKjF1d+6rl+Sj V5PpZ/g5sUeXrabblWCkGaYXKUtQiqCedPUqTHPZX5I7JwT979hVJ2PScMM0MKQiCDqz aUld1Dqk1OeezFk9Dm0h9nRgMDpVCYs3kAnGaHcee8Z+ubHPaVW8Z3QK8fPSHRgPMbtO B7d7gWTfCFY9z8i7oglUJ2JkSBmVt8LWPfZpGogOdTAZQe1vECfM68uBS+cFC9QYKFd9 pLUPFMtQcSW2udNus7Z1AwC2vIqaDtfub94FMBil8SthVs+J3wVlpjIVJawFQjoTCdnL eEyQ== X-Gm-Message-State: ANoB5pmP3EnE6TmecKbscsqcsWKIcUVWfdxjuW9hxzuFs+UifpP8rb9L zozj4SYg76G/ZRbfXo4UhMxdZmwTdFK5Xs95 X-Google-Smtp-Source: AA0mqf78Fspx9CVwH64ZbNaiHXTbl/JrYDO0Qgo55BhWQp8Mlc9u83t+hTU05BmEvtab4rPSfez9pw== X-Received: by 2002:a5d:48cf:0:b0:232:be5c:ec4a with SMTP id p15-20020a5d48cf000000b00232be5cec4amr18096301wrs.6.1671123743270; Thu, 15 Dec 2022 09:02:23 -0800 (PST) Received: from ip-10-70-112-12.vpc-1e810be1.internal (c2-178-216-98-9.elastic.cloud.croc.ru. [178.216.98.9]) by smtp.gmail.com with ESMTPSA id q6-20020adff506000000b0022e57e66824sm7429148wro.99.2022.12.15.09.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 09:02:22 -0800 (PST) From: Vladislav Odintsov To: dev@openvswitch.org Date: Thu, 15 Dec 2022 20:02:14 +0300 Message-Id: <20221215170219.3072151-1-odivlad@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Cc: Vladislav Odintsov Subject: [ovs-dev] [PATCH ovn v3 0/5] OVN IC multiple same routes fixes 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" v2 -> v3: - Split patch #3 by two: first fixes a bug with duplicated route advertisement and will be considered for back-porting; the second one changes ovn-ic SB:Route schema and documents ovn-ic upgrade details. - Address Dumitru's comment regarding loggin rate-limit. v1 -> v2: - Split series by two: OVN IC-related changes and northd OF bucket limits - Squash two patches in one - Fix memory leak in add_to_routes_ad() - Addressed review comments by Dumitru v1 description here: https://patchwork.ozlabs.org/project/ovn/cover/20221202173147.3032702-1-odivlad@gmail.com/ Vladislav Odintsov (5): ic: remove orphan ovn interconnection routes ic: lookup southbound port_binding only if needed ic: prevent advertising/learning multiple same routes ic: minor code improvements ic-sb schema: add index for routes table & document upgrade path Documentation/intro/install/ovn-upgrades.rst | 20 +++ NEWS | 4 + ic/ovn-ic.c | 142 +++++++++++++------ ovn-ic-sb.ovsschema | 6 +- tests/ovn-ic.at | 133 +++++++++++++++++ 5 files changed, 257 insertions(+), 48 deletions(-) Acked-by: Numan Siddique