From patchwork Fri May 19 18:18:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladislav Odintsov X-Patchwork-Id: 1783950 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=140.211.166.133; helo=smtp2.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=20221208 header.b=UwimO8SU; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4QNFVH3YKLz20PV for ; Sat, 20 May 2023 04:19:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 728EB4061F; Fri, 19 May 2023 18:19:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 728EB4061F Authentication-Results: smtp2.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=20221208 header.b=UwimO8SU X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QUAwKh5dCiUG; Fri, 19 May 2023 18:19:15 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9A0744059F; Fri, 19 May 2023 18:19:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9A0744059F Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5C9F8C0035; Fri, 19 May 2023 18:19:14 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 50042C002A for ; Fri, 19 May 2023 18:19:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2A85E6119D for ; Fri, 19 May 2023 18:19:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2A85E6119D Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=UwimO8SU 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 FUzx9GOOOCPR for ; Fri, 19 May 2023 18:19:11 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2D0A46116B Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2D0A46116B for ; Fri, 19 May 2023 18:19:11 +0000 (UTC) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ad819ab8a9so40843991fa.0 for ; Fri, 19 May 2023 11:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684520348; x=1687112348; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z6LYjcvDvEX4EqxcymXNMnC1NgHDOwiVYZLz9IiSLJY=; b=UwimO8SUBeeLb5zDhugjEm9piuongLr47UhGb727JBBtuQfoRlZnwo9I/crg9gy9Zc 5m4aSirUPj+Q4lYv9BEupcfM481mnW2b71/bLyAaNQuxz/QYl1x+zMoz0YKAFhGW54yP +EhYja7JZO/4f1QVAG8ahAmaRRxvOlOD0C4KyBbp5WqW9IfEdT+Rk9OnoEdX3Jcb6w6t FXro+jGM9Pwvjdq1+tKYh6vYkJUUiIA7xwumzL+oKLKJq5crQoPH6TqfdUsQ7S8Lza30 2N7zCFS850HNkpYjGfMHDQfU0up3EF/RlcecQ7cjjPD/V286NyQljjTJ0ToVsRp834dl YC3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684520348; x=1687112348; 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=Z6LYjcvDvEX4EqxcymXNMnC1NgHDOwiVYZLz9IiSLJY=; b=IC9sIoHTAjT26NVjVxcA11wHFffLV/KyFr2XXXteWiQtYXR1T4/HBb8kV54Bwdyjh4 P7Vbeso3VUp6clpu0zwqQyyEI0+/By5BR3YPEh3HLgtTjbARdJIbTFXT3XN1bpo+AP7A IkeWMtmUNEv7xQNwnIBUfCJ9UIYRu7HJ8iQsbMryl1yx9o118f2D1jYTM7nQTplkAjBM Ym9wcHu861+10DQjRlSDMes+KQpmV9GnDyUSF2KES2Hdixh8vYGgLHih/O0Ku4uchT2w KMOh7TiAwgeAJYUCFqnjxwhuM3DSk5RIDggQcx6Guj+E8H9m9IKHsHfGB11xie6B7rCk R+tQ== X-Gm-Message-State: AC+VfDz6KMmp33RvNTiByCedmqbxfK1o5zvw/ZYneu7azr2A5fovaF71 fRi6ybknFhu228VqF7xCOhTTbl9/Pus= X-Google-Smtp-Source: ACHHUZ46iE2pL59E2a6F3BponIzFfQWLX9xLQQPCJaSpAekyl4d8puhTPMAp8BY0Tb5F+WyROTl7AA== X-Received: by 2002:a2e:9f4b:0:b0:2a8:c45f:9fd8 with SMTP id v11-20020a2e9f4b000000b002a8c45f9fd8mr1071554ljk.44.1684520348299; Fri, 19 May 2023 11:19:08 -0700 (PDT) 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 o11-20020a2e90cb000000b002aa458a7a46sm919962ljg.123.2023.05.19.11.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 11:19:07 -0700 (PDT) From: Vladislav Odintsov To: dev@openvswitch.org Date: Fri, 19 May 2023 21:18:54 +0300 Message-Id: <20230519181859.1195040-1-odivlad@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Cc: Vladislav Odintsov Subject: [ovs-dev] [PATCH ovn 0/5] VTEP lport ARP handling fixes & GARP support 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" This patch series brings enhancements to ARP/ND traffic coming from vtep logical switch port. Patch #1 shoud be backported to old branches as it is a bugfix. Patch #2 makes a small optimisation - removed unneeded logical flows, it can be also backported. Patch #3 is a preparation for patch #5, which removes some code duplication. Patch #5 adds support for GARP coming from vtep lport handling on chassisredirect port and makes some changes in ARP/ND responder logic. Vladislav Odintsov (5): northd: fix ls_in_hairpin l3dgw flow generation northd: build vtep hairpin lflows only for lswitches with vtep lports controller: move put_load&resubmit for port-binding in function controller: fix typo in comments controller,northd: pass arp/nd from HW VTEP to lrouter pipeline controller/binding.c | 52 +++++++++++++++++- controller/local_data.h | 3 ++ controller/physical.c | 75 +++++++++++++++++++------- northd/northd.c | 50 +++++++++-------- northd/ovn-northd.8.xml | 30 +++++++---- tests/ovn-northd.at | 3 -- tests/ovn.at | 116 ++++++++++++++++++++++++++++++++++------ 7 files changed, 258 insertions(+), 71 deletions(-)