This patch adds support for ingress policing with DPDK interfaces. The patch aims to mimic the behaviour of Linux policing in OVS in terms of creating and destroying ingress policing interfaces. The objective of this patch is to solicit early feedback regarding differences in the implementation before formal submission.
Points to note would include the expected metric for Linux burst and rate is kb and kbps whereas DPDK interfaces will expect bytes and bytes per second. This has been specified in the vswitch.xml as part of the patch. Also please note there is an ongoing review of QoS with DPDK which includes an egress-policer. This patch shares similarities with it. As such there will be an effort made to avoid any code duplication where possible when using a DPDK policer. This work would be completed in a separate patch once the DPDK QoS patch has been merged and before the ingress-policer patch is submitted. Ian Stokes (1): netdev-dpdk.c: Add ingress-policing functionality. INSTALL.DPDK.md | 19 +++++ NEWS | 1 + lib/netdev-dpdk.c | 187 ++++++++++++++++++++++++++++++++++++++++++++++++-- vswitchd/vswitch.xml | 24 ++++--- 4 files changed, 217 insertions(+), 14 deletions(-) -- 1.7.4.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev