[dpdk-dev] [PATCH v2] meter: fix excess token bucket update in srtcm implementation

2016-09-21 Thread Thomas Monjalon
> > 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). > > > > S

[dpdk-dev] [PATCH v2] meter: fix excess token bucket update in srtcm implementation

2016-09-21 Thread Dumitrescu, Cristian
> -Original Message- > From: Nikhil Jagtap [mailto:nikhil.jagtap at gmail.com] > Sent: Wednesday, September 21, 2016 6:58 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Ramia, Kannan Babu ; > Nikhil Jagtap > Subject: [PATCH v2] meter: fix excess token bucket update in srtcm > impl

[dpdk-dev] [PATCH v2] meter: fix excess token bucket update in srtcm implementation

2016-09-21 Thread Nikhil Jagtap
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 Jag