[ovs-dev] [PATCH v5 0/2] netdev-dpdk: Add new DPDK RFC 4115 egress policer

Eelco Chaudron echaudro at redhat.com
Tue Jan 14 16:12:32 UTC 2020

netdev-dpdk: Add new DPDK RFC 4115 egress policer

This patch adds a new policer to the DPDK datapath based on RFC 4115's
Two-Rate, Three-Color marker. It's a two-level hierarchical policer
which first does a color-blind marking of the traffic at the queue
level, followed by a color-aware marking at the port level. At the end
traffic marked as Green or Yellow is forwarded, Red is dropped. For
details on how traffic is marked, see RFC 4115.

Note this patch needs to be applied to dpdk-latest with the latest
DPDK version.

v4 -> v5:
  - Changed the way DPDK experimental APIs are allowed

v3 -> v4:
  - Fixed comments from Ian's review

v2 -> v3:
  - Added documentation
  - Removed RFC tag, as two earlier version did not result in any feedback
  - Rebase to the latest dpdk-latest branch and DPDK master

v1 -> v2:
  - Rebase so it would apply to the dpdk-latest branch and latest DPDK master

Eelco Chaudron (2):
      netdev-dpdk: Add support for multi-queue QoS to the DPDK datapath
      netdev-dpdk: Add new DPDK RFC 4115 egress policer

 Documentation/topics/dpdk/qos.rst |   43 +++
 lib/netdev-dpdk.c                 |  578 ++++++++++++++++++++++++++++++++++++-
 vswitchd/vswitch.xml              |   34 ++
 3 files changed, 634 insertions(+), 21 deletions(-)

More information about the dev mailing list