From patchwork Mon Sep 21 16:25:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 1368496 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.137; helo=fraxinus.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=eHkVe2ln; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bw8v934ZVz9sWQ for ; Tue, 22 Sep 2020 02:25:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 63E1F851D6; Mon, 21 Sep 2020 16:25:53 +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 4hZzeMc1ibzJ; Mon, 21 Sep 2020 16:25:52 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id BE62C85E91; Mon, 21 Sep 2020 16:25:52 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 993A1C0859; Mon, 21 Sep 2020 16:25:52 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7375FC0051 for ; Mon, 21 Sep 2020 16:25:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5A87F20554 for ; Mon, 21 Sep 2020 16:25:51 +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 KG5fw32slSUk for ; Mon, 21 Sep 2020 16:25:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by silver.osuosl.org (Postfix) with ESMTPS id 3E0D420012 for ; Mon, 21 Sep 2020 16:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600705548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8qMmXLF6NB2mlP9NvHCFbuav11JSPXeNnZF6cg8yOcE=; b=eHkVe2lnyUNhPFeTyI72swLRyUIxoEMHO4h1CG0+naA5wKbUIh6XUhPXUbnPwrv37yLtRz YE41ZdPvvVh8QHXjISgVVg/wr3H8cgfqwp4RjxcjpAGLytsnvn+TPdYA7tqbHlliKBB7Z9 ALmPGJdU1ssvsCRI3vApm1ooTldz01E= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-1-j-nqVbF8PyOGHSQ32YK1eQ-1; Mon, 21 Sep 2020 12:25:47 -0400 X-MC-Unique: j-nqVbF8PyOGHSQ32YK1eQ-1 Received: by mail-wr1-f71.google.com with SMTP id 33so6122920wre.0 for ; Mon, 21 Sep 2020 09:25:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8qMmXLF6NB2mlP9NvHCFbuav11JSPXeNnZF6cg8yOcE=; b=s/QpC5R5FT3qZ+9CPfxHD7yDOG9HRmPGvRUcON3ljGeWWW3DM18u7Zz56yazUMDZmf MVd3zprLKS5TWEDKdy0Ly0Uwvwgu2eliYDzmueAA8p/KpkB0h0pagjqjHqgSZtEsQqGZ 7bcxKNPfsZG1Vd/X7LUtaT+uBJdr+zj00hsfzn29IcSQ9+vfYyVkIy+f5Ytc8Pg7Kaez jcsqsU8MB+47G3xIk6iVo7nJX4HS15xlx2YzaTvJJ4nzryaeUKPd7JBJYbqBGMRoC8hV +fMk/VD0Vj9nM/Bd44woJ/XTk6K+PhOjaQkg2HgtZRIUDCvY1cyDFUjFFHaYq1rEQpD8 l3DQ== X-Gm-Message-State: AOAM531kiZYFjARvlligncmk9gcxQ27i23qujfuMcy5f2LxbaVX2wHZR g5EPt2A6I8t2BG5N6dlvTb6CEJxLv6OOA45JavF6578gdn58a//t9fYshNKA1CGH2na1wyusHqm pvC+74SuPLIF9tIZmxA== X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr197595wml.150.1600705545669; Mon, 21 Sep 2020 09:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUi00V/1H+mwaRLxqbVIfv5TYy1xZmvfFac7Za3kSgGmb+Sah0f8rNIUWkDAdP3TawqxDChQ== X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr197582wml.150.1600705545482; Mon, 21 Sep 2020 09:25:45 -0700 (PDT) Received: from lore-desk.redhat.com ([151.66.80.226]) by smtp.gmail.com with ESMTPSA id s11sm21019205wrt.43.2020.09.21.09.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 09:25:45 -0700 (PDT) From: Lorenzo Bianconi To: ovs-dev@openvswitch.org Date: Mon, 21 Sep 2020 18:25:34 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lorenzo.bianconi@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: hzhou@ovn.org Subject: [ovs-dev] [PATCH v2 ovn 0/3] fix localnet QoS configuration after I-P 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" Changes since v1: - move qos_map fix in a separated patch - add ovn-egress-iface info to binding I-P engine relying on shash for local_iface_ids Lorenzo Bianconi (3): controller: binding: rely on shash for local_iface_ids binding: rely on qos_map for consider_localnet_lport binding: fix localnet QoS configuration after I-P controller/binding.c | 68 ++++++++++++++++++++++++++++++++----- controller/binding.h | 7 +++- controller/ovn-controller.c | 39 +++++++++++++++++---- tests/ovn-performance.at | 13 +++++++ tests/system-ovn.at | 60 ++++++++++++++++++++++++++++++++ 5 files changed, 170 insertions(+), 17 deletions(-)