Message ID | 20201005174829.4169091-1-numans@ovn.org |
---|---|
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C4vc123q9z9sTL for <incoming@patchwork.ozlabs.org>; Tue, 6 Oct 2020 08:58:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4DE1A1FEB7; Mon, 5 Oct 2020 17:48:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cPr9Ck+oOxBu; Mon, 5 Oct 2020 17:48:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 113E720381; Mon, 5 Oct 2020 17:48:46 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id F0F56C016F; Mon, 5 Oct 2020 17:48:45 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id A2BC7C0051 for <dev@openvswitch.org>; Mon, 5 Oct 2020 17:48:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 913E884B36 for <dev@openvswitch.org>; Mon, 5 Oct 2020 17:48:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tFi0eqLSpOhJ for <dev@openvswitch.org>; Mon, 5 Oct 2020 17:48:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2ED4C84AE3 for <dev@openvswitch.org>; Mon, 5 Oct 2020 17:48:42 +0000 (UTC) Received: from nusiddiq.home.org.com (unknown [27.7.100.13]) (Authenticated sender: numans@ovn.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 8BE90240002; Mon, 5 Oct 2020 17:48:38 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Mon, 5 Oct 2020 23:18:29 +0530 Message-Id: <20201005174829.4169091-1-numans@ovn.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn 0/5] ovn-northd: Optimize logical flow generation for reject ACLs. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" <ovs-dev-bounces@openvswitch.org> |
Series |
ovn-northd: Optimize logical flow generation for reject ACLs.
|
expand
|
From: Numan Siddique <numans@ovn.org> This patch series improves the reject ACL logical flow generation by reducing the number of logical flows for the reject ACL. A new OVN action - reject is added for this. Now only 1 lflow is added per each reject ACL. Patch 1 and 2 are bug fix patches and they need to be backported to branch 20.09 and 20.06. This patch series overrides the earlier attempt to address the lflow reduction for reject ACLs - https://mail.openvswitch.org/pipermail/ovs-dev/2020-September/375528.html Numan Siddique (5): northd: Use 'enum ovn_stage' for the table value in the 'next' OVN action. ovn-trace: Don't assert for next(stage=ingress,..). actions: Add a new OVN action - reject {}. actions: Add new OVN logical fields 'ip.src' and ip.dst'. ovn-northd: Optimize logical flow generation for reject ACLs. controller/pinctrl.c | 66 +++++++++++++++++ include/ovn/actions.h | 13 +++- include/ovn/logical-fields.h | 18 +++++ lib/actions.c | 137 +++++++++++++++++++++++++++++++++++ lib/logical-fields.c | 10 +++ northd/ovn-northd.c | 78 +++++--------------- ovn-sb.xml | 47 ++++++++++++ tests/ovn-northd.at | 101 ++++++++++++++++++++++++++ tests/ovn.at | 39 ++++++++++ tests/system-ovn.at | 46 +++++++++++- utilities/ovn-trace.c | 63 ++++++++++++++-- 11 files changed, 550 insertions(+), 68 deletions(-)