[ovs-dev] [PATCH v3 2/2] netdev-dpdk.c: Add ingress-policing functionality.

2016-05-24 Thread Ian Stokes
This patch provides the modifications required in netdev-dpdk.c and vswitch.xml to enable ingress policing for DPDK interfaces. This patch implements the necessary netdev functions to netdev-dpdk.c as well as various helper functions required for ingress policing. The vswitch.xml has been modifie

Re: [ovs-dev] [PATCH v3 2/2] netdev-dpdk.c: Add ingress-policing functionality.

2016-05-24 Thread Daniele Di Proietto
Thanks for the patch! I realized that we also need to delete the policer in netdev_dpdk_destruct, so I folded in the following: diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 900ec64..01da275 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -929,6 +929,8 @@ netdev_dpdk_destruct

Re: [ovs-dev] [PATCH v3 2/2] netdev-dpdk.c: Add ingress-policing functionality.

2016-05-25 Thread Stokes, Ian
> -Original Message- > From: Daniele Di Proietto [mailto:diproiet...@vmware.com] > Sent: Tuesday, May 24, 2016 9:39 PM > To: Stokes, Ian > Cc: dev@openvswitch.org > Subject: Re: [PATCH v3 2/2] netdev-dpdk.c: Add ingress-policing > functionality. > > Thanks for the patch! > > I realized th