netdev_dpdk.c: Add QoS functionality.
authorIan Stokes <ian.stokes@intel.com>
Wed, 2 Mar 2016 20:35:54 +0000 (20:35 +0000)
committerDaniele Di Proietto <diproiettod@vmware.com>
Thu, 3 Mar 2016 01:46:27 +0000 (17:46 -0800)
commit0bf765f753fd6cfde4918be49474fcd20659ceaa
tree75441bac1a48afbdcb418b565b82b93566e8a72e
parentd0a46cb4608e632f5028034762f0adde2ce947a0
netdev_dpdk.c: Add QoS functionality.

This patch provides the modifications required in netdev-dpdk.c and
vswitch.xml to allow for a DPDK user space QoS algorithm.

This patch adds a QoS configuration structure for netdev-dpdk and
expected QoS operations 'dpdk_qos_ops'. Various helper functions
are also supplied.

Also included are the modifications required for vswitch.xml to allow a
new QoS implementation for netdev-dpdk devices. This includes a new QoS type
`egress-policer` as well as its expected QoS table entries.

The QoS functionality implemented for DPDK devices is `egress-policer`.
This can be used to drop egress packets at a configurable rate.

The INSTALL.DPDK.md guide has also been modified to provide an example
configuration of `egress-policer` QoS.

Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
INSTALL.DPDK.md
NEWS
lib/netdev-dpdk.c
vswitchd/vswitch.xml