Re: [ovs-dev] [PATCH v2 4/6] dpif: Meter framework.

2014-08-13 Thread Jesse Gross
On Wed, Aug 13, 2014 at 12:43 PM, Pravin Shelar wrote: > On Wed, Aug 13, 2014 at 9:25 AM, Ben Pfaff wrote: >> On Mon, Aug 11, 2014 at 02:37:45PM -0700, Jarno Rajahalme wrote: >>> Add DPIF-level infrastructure for meters. Allow meter_set to modify >>> the meter configuration (e.g. set the burst s

Re: [ovs-dev] [PATCH v2 4/6] dpif: Meter framework.

2014-08-13 Thread Pravin Shelar
On Wed, Aug 13, 2014 at 9:25 AM, Ben Pfaff wrote: > On Mon, Aug 11, 2014 at 02:37:45PM -0700, Jarno Rajahalme wrote: >> Add DPIF-level infrastructure for meters. Allow meter_set to modify >> the meter configuration (e.g. set the burst size if unspecified). >> >> Signed-off-by: Jarno Rajahalme >

Re: [ovs-dev] [PATCH v2 4/6] dpif: Meter framework.

2014-08-13 Thread Ben Pfaff
On Mon, Aug 11, 2014 at 02:37:45PM -0700, Jarno Rajahalme wrote: > Add DPIF-level infrastructure for meters. Allow meter_set to modify > the meter configuration (e.g. set the burst size if unspecified). > > Signed-off-by: Jarno Rajahalme The dpif_meter_del() convention of using stats->n_bands f

[ovs-dev] [PATCH v2 4/6] dpif: Meter framework.

2014-08-11 Thread Jarno Rajahalme
Add DPIF-level infrastructure for meters. Allow meter_set to modify the meter configuration (e.g. set the burst size if unspecified). Signed-off-by: Jarno Rajahalme --- datapath/linux/compat/include/linux/openvswitch.h |3 + lib/dpif-linux.c | 40 +