numam-dpdk/lib/librte_meter
Nikhil Jagtap a15b29ebe6 meter: fix excess token bucket update in srtcm
As per srTCM RFC 2697, we should be updating the E bucket only after the
C bucket overflows. This patch fixes the current DPDK implementation,
where we are updating both the buckets simultaneously at the same rate
(CIR) which results in token accumulation rate of (2*CIR).

Signed-off-by: Nikhil Jagtap <nikhil.jagtap@gmail.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2016-09-21 22:56:03 +02:00
..
Makefile mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
rte_meter_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_meter.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_meter.h meter: fix excess token bucket update in srtcm 2016-09-21 22:56:03 +02:00