All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next v3 0/4] Openvswitch meter action
@ 2017-11-09  5:30 Andy Zhou
  2017-11-09  5:30 ` [net-next v4 1/4] openvswitch: Add meter netlink definitions Andy Zhou
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Andy Zhou @ 2017-11-09  5:30 UTC (permalink / raw)
  To: netdev; +Cc: pshelar, joe, gvrose8192, Andy Zhou

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
    v3 -> v4:     fix undefined "__udivdi3" references on 32 bit builds.
                  use div_u64() instead.


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

*** BLURB HERE ***

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [net-next v3 0/4] Openvswitch meter action
@ 2017-11-06  8:30 Andy Zhou
  2017-11-06 12:04 ` Pravin Shelar
  0 siblings, 1 reply; 12+ messages in thread
From: Andy Zhou @ 2017-11-06  8:30 UTC (permalink / raw)
  To: netdev; +Cc: pshelar, joe, gvrose8192, Andy Zhou

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


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-11-10 18:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09  5:30 [net-next v3 0/4] Openvswitch meter action Andy Zhou
2017-11-09  5:30 ` [net-next v4 1/4] openvswitch: Add meter netlink definitions Andy Zhou
2017-11-09  8:02   ` Pravin Shelar
2017-11-09  5:30 ` [net-next v4 2/4] openvswitch: export get_dp() API Andy Zhou
2017-11-09  8:02   ` Pravin Shelar
2017-11-09  5:30 ` [net-next v4 3/4] openvswitch: Add meter infrastructure Andy Zhou
2017-11-09  8:49   ` Pravin Shelar
2017-11-09  5:30 ` [net-next v4 4/4] openvswitch: Add meter action support Andy Zhou
2017-11-09  8:50   ` Pravin Shelar
2017-11-10 18:29     ` Andy Zhou
  -- strict thread matches above, loose matches on Subject: below --
2017-11-06  8:30 [net-next v3 0/4] Openvswitch meter action Andy Zhou
2017-11-06 12:04 ` Pravin Shelar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.