On Fri, May 8, 2020 at 1:11 AM 姜立东 <[email protected]> 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 - meter->used) / 1000; /* msec */
> +    long_delta_t = now / 1000 - meter->used / 1000; /* msec */
>
> While my patch is ported from 2.10 base line, so additional token is counted 
> incorrectly.
> Commit 42697ca77 is good enough to fix the loss of token in delta computation.
> So we are looking into if higher token insertion rate in micro second is 
> needed in some cases.
>

Thanks, I forgot this is already fixed.
I will revert the patch if no other comments.

William
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to