Message ID | 1587032223-49460-1-git-send-email-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.133; helo=hemlock.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=gG552lak; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 494KbY4VXrz9sPF for <incoming@patchwork.ozlabs.org>; Sun, 19 Apr 2020 03:25:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BFB4E88154; Sat, 18 Apr 2020 17:25:10 +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 bnlqNVcPVp25; Sat, 18 Apr 2020 17:25:10 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0835F8796D; Sat, 18 Apr 2020 17:25:10 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D45A9C089F; Sat, 18 Apr 2020 17:25:09 +0000 (UTC) X-Original-To: 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 1C241C0172 for <dev@openvswitch.org>; Sat, 18 Apr 2020 17:25:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id F2B64203A0 for <dev@openvswitch.org>; Sat, 18 Apr 2020 17:25:07 +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 5SMu0wgZakbB for <dev@openvswitch.org>; Sat, 18 Apr 2020 17:25:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by silver.osuosl.org (Postfix) with ESMTPS id 37D272034F for <dev@openvswitch.org>; Sat, 18 Apr 2020 17:25:07 +0000 (UTC) Received: by mail-pj1-f46.google.com with SMTP id a7so2309486pju.2 for <dev@openvswitch.org>; Sat, 18 Apr 2020 10:25:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=gmnInVhSxEJ571M/gRpmFYBR6HRQDwpx2QscMw6sx84=; b=gG552lakYLmQDOOJ9bZhIIeHN37WVIvX5dz3h9uuKxE/aMlKAJ1DSQyy1jNmKj/eOr Bovo/CJbpWh5mb+TId5GtCYkiEvrJGNFJ2fiKiwiM3pc0tp2DMoRvOtXTBN7DYYtWb2z aEUdpFnoWsOxCSjJKpSPndijB/2MjOne4S5wcLS3YQMQ+rg13uDK/haCfwMIsJvvqZxD suTmvvQb59XarNI9cHg9QPsiZF8SUVLMWciYtrnrOYc4L4sIlAs4DigdcejXl7XQHnc9 j5M7D7+pBS7RMbK6tMVzQYuMP3n7RGnqdUtLEg3fa3IkL1Aq5F2vgymFlUoZ6mz8udwq OUNg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=gmnInVhSxEJ571M/gRpmFYBR6HRQDwpx2QscMw6sx84=; b=dJl1sqQ6H8sFW4O1pMs3Glzs8DryrT/VV8C4gYQduG3J1t/nQNP/ckBtcY7eE9+Br3 nowmlkkHP1F8/afNpRPS+BweOeBaO8V8xlCGxOtgfuQ6VRJzp7XAsUmD/BpawUx1h99e Un0V8lY+l/j6qU6xA3yIhFhAEddQL5R28oW6DYis3NNXKeQWmcI/DEFrgtAMoUbbpntd 6icwxs7cV2j7zoVt2lQG8MG0qV9mx+UH+JPy1uf1nCzN0/9hnGpOOprAbRe6duA6OwTY xqEsQ0m4qtDScgX1sziFtlExezpp+zaTWbhM5NEWPAu0Q0wbpupBVWLWV9+ut+wcOdUj Kntg== X-Gm-Message-State: AGi0Puacq8jjtsDwIP9mqtdDCQ6bLIp8fppmWfaLm3UZgQQiHpdWDYsN jPioHFpMQPeLiLIftq3WZtQ= X-Google-Smtp-Source: APiQypK5kPVpTa3ZIXWBD37XLQ6RulrTnln/zqMCpMeHb7zzApdZOucgW2VoIEjw+O5drRTJaM8Iig== X-Received: by 2002:a17:90a:9202:: with SMTP id m2mr1903717pjo.109.1587230706780; Sat, 18 Apr 2020 10:25:06 -0700 (PDT) Received: from local.opencloud.tech.localdomain ([115.171.63.184]) by smtp.gmail.com with ESMTPSA id s44sm9329251pjc.28.2020.04.18.10.25.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Apr 2020 10:25:06 -0700 (PDT) From: xiangxia.m.yue@gmail.com To: pshelar@ovn.org, azhou@ovn.org, blp@ovn.org, u9012063@gmail.com Date: Thu, 16 Apr 2020 18:16:58 +0800 Message-Id: <1587032223-49460-1-git-send-email-xiangxia.m.yue@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1584969039-74113-1-git-send-email-xiangxia.m.yue@gmail.com> References: <1584969039-74113-1-git-send-email-xiangxia.m.yue@gmail.com> MIME-Version: 1.0 Cc: dev@openvswitch.org, netdev@vger.kernel.org Subject: [ovs-dev] [PATCH net-next v2 0/5] expand meter tables 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> 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 meter tables and fix bug
|
expand
|
From: xiangxia.m.yue@gmail.com Date: Thu, 16 Apr 2020 18:16:58 +0800 > From: Tonghao Zhang <xiangxia.m.yue@gmail.com> > > The patch set expands or shrink the meter table when necessary. > and other patch fixes bug or improve codes. Pravin et al. please review this series. Thank you.
From: Tonghao Zhang <xiangxia.m.yue@gmail.com> The patch set expands or shrink the meter table when necessary. and other patch fixes bug or improve codes. Tonghao Zhang (5): net: openvswitch: expand the meters supported number net: openvswitch: set max limitation to meters net: openvswitch: remove the unnecessary check net: openvswitch: make EINVAL return value more obvious net: openvswitch: use u64 for meter bucket net/openvswitch/datapath.h | 2 +- net/openvswitch/meter.c | 227 ++++++++++++++++++++++++++++--------- net/openvswitch/meter.h | 18 ++- 3 files changed, 188 insertions(+), 59 deletions(-) -- v2 * change the hash table to meter array * add shrink meter codes * add patch 4 and 5 -- 2.23.0