From patchwork Mon Aug 10 10:53:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dumitru Ceara X-Patchwork-Id: 1342787 Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=U9T4yyV8; dkim-atps=neutral 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 4BQCW607hwz9sPB for ; Mon, 10 Aug 2020 20:53:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D27482033B; Mon, 10 Aug 2020 10:53:33 +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 c3FadFdFy5+U; Mon, 10 Aug 2020 10:53:32 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id C15CF20242; Mon, 10 Aug 2020 10:53:31 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A16E4C013C; Mon, 10 Aug 2020 10:53:31 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 45EA3C004D for ; Mon, 10 Aug 2020 10:53:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2ED0986440 for ; Mon, 10 Aug 2020 10:53:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9sNWRmxeHs7c for ; Mon, 10 Aug 2020 10:53:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5465786435 for ; Mon, 10 Aug 2020 10:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597056808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vMZj0ljMrP2KG0trPqDFGecB+sntOvEV4j4J4ihqsmE=; b=U9T4yyV8v+/aG8NT/kZy1xxlOGn6NSS7ROFT4nBbFzLvbjDZPpLk+RRpQQFRCd+btAdWbw ukdXa5RXrjG2wYsdkyUvG2mtskL6658LrJhMqp5h/kjMWe5QPsk6u4v+CKftuOGVInJSNs i3uUlm1l63CwUFKxxYfGZYz0M6TQEkE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-277-pTcAroDZOT2Ixerw2Q_fTw-1; Mon, 10 Aug 2020 06:53:25 -0400 X-MC-Unique: pTcAroDZOT2Ixerw2Q_fTw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 337878017FB for ; Mon, 10 Aug 2020 10:53:24 +0000 (UTC) Received: from dceara.remote.csb (ovpn-112-228.ams2.redhat.com [10.36.112.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id A333719C71 for ; Mon, 10 Aug 2020 10:53:23 +0000 (UTC) From: Dumitru Ceara To: dev@openvswitch.org Date: Mon, 10 Aug 2020 12:53:20 +0200 Message-Id: <20200810105317.25272.51568.stgit@dceara.remote.csb> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dceara@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn branch-20.06 0/7] Backport ARP/NS responder flow explosion 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" This series backports the recent ARP/NS responder fixes that reduce the number of generated logical and OF flows. This has been previously discussed in the OVN community meeting: http://eavesdrop.openstack.org/meetings//ovn_community_development_discussion/2020/ovn_community_development_discussion.2020-07-30-17.14.log.html#l-21 CC: Han Zhou CC: Mark Michelson CC: Numan Siddique Signed-off-by: Dumitru Ceara Dumitru Ceara (7): ovn-northd: Document OVS register usage in logical flows. ovn-northd: Store ETH address of router inport in xreg0. ovn-northd: Refactor ARP/NS responder in router pipeline. ovn-northd: Refactor NAT address parsing. ovn-northd: Minimize number of ARP/NS responder flows for DNAT. ovn-northd: Fix is_chassis_resident() match for DNAT. ovn-northd: Fix logical flows to limit ARP/NS broadcast domain. northd/ovn-northd.8.xml | 46 +- northd/ovn-northd.c | 992 ++++++++++++++++++++++++++++++----------------- tests/ovn-northd.at | 149 +++++++ tests/ovn.at | 82 ++++ 4 files changed, 893 insertions(+), 376 deletions(-)