Re: [ovs-dev] [PATCH OVS 4/4] revert: dpif-netdev: includes microsecond delta in meter bucket calculation

2020-05-08 Thread William Tu
On Fri, May 8, 2020 at 1:11 AM 姜立东 wrote: > > Oh, this is due to patch porting from 2.10. > Between latest and 2.10, commit 42697ca77 is introduced to fix millisecond > token insertion rate as below. > /* All packets will hit the meter at the same time. */ > -long_delta_t = (now -

[ovs-dev] [PATCH OVS 4/4] revert: dpif-netdev: includes microsecond delta in meter bucket calculation

2020-04-30 Thread xiangxia . m . yue
From: Tonghao Zhang Use the pktgen-dpdk to test the commit 5c41c31ebd64 ("dpif-netdev: includes microsecond delta in meter bucket calculation"), it does't work as expected. And it broken the meter function (e.g. set rate 200Mbps, the rate watched was 400Mbps). To reproduce it: $ ovs-vsctl