From patchwork Thu Sep 16 00:06:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladislav Odintsov X-Patchwork-Id: 1528600 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: 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=MnmY+2ky; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H8y7J03fgz9sW8 for ; Thu, 16 Sep 2021 10:06:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6897140588; Thu, 16 Sep 2021 00:06:45 +0000 (UTC) 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 uWm9WO7PxKKY; Thu, 16 Sep 2021 00:06:44 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9F957401D0; Thu, 16 Sep 2021 00:06:43 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 356C5C0011; Thu, 16 Sep 2021 00:06:43 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5C7D6C000D for ; Thu, 16 Sep 2021 00:06:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 344A0401D0 for ; Thu, 16 Sep 2021 00:06:41 +0000 (UTC) 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 ki6rXTrxIlrO for ; Thu, 16 Sep 2021 00:06:37 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by smtp2.osuosl.org (Postfix) with ESMTPS id 98E524010D for ; Thu, 16 Sep 2021 00:06:37 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id g1so11168270lfj.12 for ; Wed, 15 Sep 2021 17:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N1fMJ52gkIgRqj8ln5nZ2ggQAGOoVy1l+Kp1CpTdCj0=; b=MnmY+2kypsbVpEipSUcVm/Q/AdATf2SIbH1WaTRr31XDgeHPcUkeanSWzHO8qZeZfn Bc7+9E57N8SgoWUJW6bTEQB0LfHG7zVV7fBw1Rgb8rZjcfOlsML9q+9GIy1xMUl3ITNo ZGDUReaLv7Nw61C+K++b1a9+OqmjJwyxaxr5k/c9Dw2GqlIjYyDYMPlMcmJwKtua6Qua WtinWqnQUN/CjL3z/qI3lcf+tGs/o7CzicmryMkb1mMcea1DjVPjP623Q1jwyPqC9aaS b2AIyZ+5gSM1dJE/zEdw6O33nbI1JRu3HYSmMa2+zVhegDQ9MAdO7WxkMlk5ZfdHsumU 0YQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N1fMJ52gkIgRqj8ln5nZ2ggQAGOoVy1l+Kp1CpTdCj0=; b=M9NsHAjakQDnKJw+YQ+iF1LMN7+wiuqW6GWskxrdgGAZTRRdWXAzOXOHlONCdXnQzs VchjU74yNl9xbf4hnztatk5XM8XFcvdMw0JZtZeVEyx1qUGQxa1yNpi0pOq1s7L94iNI 1ql9e70uu4PWDxUGQWNiEarHDr6p8r8MCXs8CtjkM/SeLaf9/KaQVAdo21SVnritYjEY vWrpH5N5Evywa+kwkvcx56sOjQubZCkSUgBPe3DWDCiN7cFF4uphU5K5e2tb+menCnRT Q42RDyH8d4pnVfKHFu45VHMjViHYrExJQLPNQpAHtRP/V7JiIbu9PckcwPx4DIZiB5df POSA== X-Gm-Message-State: AOAM530L/Kx4IaZqHPQVK+oFhKPQgMYzZO3qjHsr8mX/2r+Ut1e1qJTK REbnFF+V23UJroBC17SFDJgvJeZoXuk= X-Google-Smtp-Source: ABdhPJxxQr/L1DCUtlKsgw9iCzTlExQ72AOoBX1jurWl1QLKZmYt9T7LjhfJi/VIMRU06yvE78+iCA== X-Received: by 2002:a2e:b52d:: with SMTP id z13mr2398406ljm.376.1631750795395; Wed, 15 Sep 2021 17:06:35 -0700 (PDT) Received: from localhost.localdomain (109-252-131-59.dynamic.spd-mgts.ru. [109.252.131.59]) by smtp.gmail.com with ESMTPSA id 207sm157486ljf.41.2021.09.15.17.06.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Sep 2021 17:06:35 -0700 (PDT) From: Vladislav Odintsov To: dev@openvswitch.org Date: Thu, 16 Sep 2021 03:06:21 +0300 Message-Id: <20210916000624.1609-1-odivlad@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Cc: Vladislav Odintsov Subject: [ovs-dev] [PATCH ovn 0/3] controller-vtep: stateful datapath bugfix & add new test 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 make some enhacements in ovn-controller-vtep functionality by fixing a bug where in datapaths with stateful services (ACLs, LBs), no traffic could pass between VIF ports and VTEP (RAMP) device. A new testcase is added, which reproduces a bug described in [1]. `ovn-appctl -t ovn-controller recompute` must be removed from test before merge. It is placed there to show where the bug currently is. [1]: https://mail.openvswitch.org/pipermail/ovs-dev/2021-September/387435.html Vladislav Odintsov (3): tests: use ovn_start in controller-vtep tests tests: check that flow for ramp switch is added when PB is created northd: support HW VTEP with stateful datapath northd/ovn-northd.c | 14 +++ northd/ovn_northd.dl | 33 +++++- tests/ovn-controller-vtep.at | 192 +++++++++++++++++++++++------------ tests/ovn-northd.at | 2 + 4 files changed, 173 insertions(+), 68 deletions(-)