Message ID | 20200523103320.47497-1-xiangxia.m.yue@gmail.com |
---|---|
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.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=20161025 header.b=WDuUIDuL; 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 49TfpV1b1vz9sPK for <incoming@patchwork.ozlabs.org>; Sat, 23 May 2020 20:33:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1F8CC8748B; Sat, 23 May 2020 10:33:36 +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 52qmmtaHdzx1; Sat, 23 May 2020 10:33:35 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 833A987470; Sat, 23 May 2020 10:33:35 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 65A24C0178; Sat, 23 May 2020 10:33:35 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 83805C0176 for <dev@openvswitch.org>; Sat, 23 May 2020 10:33:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6800A885D9 for <dev@openvswitch.org>; Sat, 23 May 2020 10:33:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dd4i3hLBPdNN for <dev@openvswitch.org>; Sat, 23 May 2020 10:33:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id A6371885D8 for <dev@openvswitch.org>; Sat, 23 May 2020 10:33:33 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id r10so6178434pgv.8 for <dev@openvswitch.org>; Sat, 23 May 2020 03:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=c5MbS14PAvjuiCtUs24SK92vdnBg5e2FH0bP6qiPK7k=; b=WDuUIDuLu70vhMtyQnIwqpPriR5YNjOZQcsvb7AH0201/LesptlVj5S+i5XAY3958r NF5XojLIgUKEe5m8fRl1khYA5ME4XwyFbIHx0F101kH8wUy2ANWtLL+rloIGA7VVz8bg UevHaz6VzEKRw37ZPtOn4QG1bbzfGsS1zVXBMU9YR0N6eCF8FDEUlQsEY/kzrakwsFal V8BjEG7xL+vdlyaBF8eoJp288/idOImZP8GoWvalj9zxDUvi35pRhcF2XzBCETySy8yK IzYCoHygS1NUl1FxxGNMqNGCfcxl7/nx5hYBD1cjFrpl9hznEjOPNjKUBLagcu29AOSR i9vg== 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; bh=c5MbS14PAvjuiCtUs24SK92vdnBg5e2FH0bP6qiPK7k=; b=gRX+xeqm9OvaN4Qq6aIa/S0hk81lwN4sRI1uZKN4HUmW5NUTHFKZBjBvtQkQN3sHeR vLQLKjwfV07NT1hK6QsBGWX/DYQqaiuE/5E+OgSgUkJwN00JZY5hKik0M/r+/FZ7xUUH a4qKBOQKTEp63hGjgI67v6ZJGokkXdbCrl0Bw0c2NXctakVf5jsTz5M3QDs3uPqaM4w/ bwmfiTef9uib3O7iT18Gfj89IUCmG21KMJe7Bx1tzlFj7hfZqRAW7J7Jn3fTxh7XZM99 aWUo7EX9Cr+t9w28Sg0uc0Nzhih2L1C49/h1swE4SuTrOwf09ezplFdX0UlsLfj4K96S 5q0g== X-Gm-Message-State: AOAM533XuRIVaIQ2oKJ8WL6dFvRjv5AK2h8vfsvjxkvmnbPkResh9wbp cnPkVuqVy19EHSC/YfCtiHQ= X-Google-Smtp-Source: ABdhPJw7iobhOX2QaS3wAwxr4taJg1u8JlTs5dyfRCuYCRmVpL44jq7xPYqDCAwVsPJny8QwmgV3yw== X-Received: by 2002:aa7:8f27:: with SMTP id y7mr8386017pfr.19.1590230013144; Sat, 23 May 2020 03:33:33 -0700 (PDT) Received: from localhost.localdomain ([203.100.54.194]) by smtp.gmail.com with ESMTPSA id mt3sm1405205pjb.23.2020.05.23.03.33.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 May 2020 03:33:32 -0700 (PDT) From: xiangxia.m.yue@gmail.com To: i.maximets@ovn.org, u9012063@gmail.com, jarno@ovn.org, blp@ovn.org, azhou@ovn.org, pshelar@ovn.org Date: Sat, 23 May 2020 18:33:16 +0800 Message-Id: <20200523103320.47497-1-xiangxia.m.yue@gmail.com> X-Mailer: git-send-email 2.15.0 Cc: dev@openvswitch.org Subject: [ovs-dev] [PATCH ovs-dev v3 0/4] expand the meter table and fix bug. 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> MIME-Version: 1.0 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 |
expand the meter table and fix bug.
|
expand
|
From: Tonghao Zhang <xiangxia.m.yue@gmail.com> The patch set expand or shrink the meter table when necessary and other patches fix bug or improve codes. Tonghao Zhang (4): dpif-netdev: Expand the meters supported number. dpif-netdev: Add burst size to buckets. dpif-netdev: Use the u64 instead of u32 for buckets. Revert "dpif-netdev: includes microsecond delta in meter bucket calculation". include/openvswitch/ofp-meter.h | 2 +- lib/dpif-netdev.c | 336 ++++++++++++++++++++++++-------- lib/ofp-meter.c | 4 +- 3 files changed, 257 insertions(+), 85 deletions(-)