From: Pravin Shelar <pshelar@ovn.org>
To: Andy Zhou <azhou@ovn.org>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>,
Joe Stringer <joe@ovn.org>, Greg Rose <gvrose8192@gmail.com>
Subject: Re: [net-next v3 0/4] Openvswitch meter action
Date: Mon, 6 Nov 2017 04:04:52 -0800 [thread overview]
Message-ID: <CAOrHB_B8TfRmLusNfQHpMFabQu8Xu602ed9Qh+=+32ViU1mDqw@mail.gmail.com> (raw)
In-Reply-To: <1509957021-10795-1-git-send-email-azhou@ovn.org>
On Mon, Nov 6, 2017 at 12:30 AM, Andy Zhou <azhou@ovn.org> wrote:
> This patch series is the first attempt to add openvswitch
> meter support. We have previously experimented with adding
> metering support in nftables. However 1) It was not clear
> how to expose a named nftables object cleanly, and 2)
> the logic that implements metering is quite small, < 100 lines
> of code.
>
> With those two observations, it seems cleaner to add meter
> support in the openvswitch module directly.
>
> ---
>
> v1(RFC)->v2: remove unused code improve locking
> and other review comments
> v2 -> v3: rebase
>
Looks good to me.
Acked-by: Pravin B Shelar <pshelar@ovn.org>
>
> Andy Zhou (4):
> openvswitch: Add meter netlink definitions
> openvswitch: export get_dp() API.
> openvswitch: Add meter infrastructure
> openvswitch: Add meter action support
>
> include/uapi/linux/openvswitch.h | 54 ++++
> net/openvswitch/Makefile | 1 +
> net/openvswitch/actions.c | 6 +
> net/openvswitch/datapath.c | 43 +--
> net/openvswitch/datapath.h | 35 +++
> net/openvswitch/flow_netlink.c | 6 +
> net/openvswitch/meter.c | 604 +++++++++++++++++++++++++++++++++++++++
> net/openvswitch/meter.h | 54 ++++
> 8 files changed, 772 insertions(+), 31 deletions(-)
> create mode 100644 net/openvswitch/meter.c
> create mode 100644 net/openvswitch/meter.h
>
> --
> 1.8.3.1
>
next prev parent reply other threads:[~2017-11-06 12:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 8:30 [net-next v3 0/4] Openvswitch meter action Andy Zhou
2017-11-06 8:30 ` [net-next v3 1/4] openvswitch: Add meter netlink definitions Andy Zhou
2017-11-06 8:30 ` [net-next v3 2/4] openvswitch: export get_dp() API Andy Zhou
2017-11-06 8:30 ` [net-next v3 3/4] openvswitch: Add meter infrastructure Andy Zhou
2017-11-08 1:59 ` kbuild test robot
2017-11-08 5:30 ` kbuild test robot
2017-11-06 8:30 ` [net-next v3 4/4] openvswitch: Add meter action support Andy Zhou
2017-11-06 12:04 ` Pravin Shelar [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-09 5:30 [net-next v3 0/4] Openvswitch meter action Andy Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOrHB_B8TfRmLusNfQHpMFabQu8Xu602ed9Qh+=+32ViU1mDqw@mail.gmail.com' \
--to=pshelar@ovn.org \
--cc=azhou@ovn.org \
--cc=gvrose8192@gmail.com \
--cc=joe@ovn.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).