Re: [ovs-dev] [PATCHv3] dpif-netdev: fix meter at high packet rate.

2019-04-22 Thread Ben Pfaff
On Fri, Apr 19, 2019 at 03:26:41PM -0700, William Tu wrote: > When testing packet rate around 1Mpps with meter enabled, the frequency > of hitting meter action becomes much higher, around 30us each time. > As a result, the meter's calculation of 'uint32_t delta_t' becomes > always 0 and meter actio

Re: [ovs-dev] [PATCHv3] dpif-netdev: fix meter at high packet rate.

2019-04-21 Thread Ilya Maximets
On 20.04.2019 1:26, William Tu wrote: > When testing packet rate around 1Mpps with meter enabled, the frequency > of hitting meter action becomes much higher, around 30us each time. > As a result, the meter's calculation of 'uint32_t delta_t' becomes > always 0 and meter action has no effect. This

Re: [ovs-dev] [PATCHv3] dpif-netdev: fix meter at high packet rate.

2019-04-20 Thread Yi-Hung Wei
On Fri, Apr 19, 2019 at 3:27 PM William Tu wrote: > > When testing packet rate around 1Mpps with meter enabled, the frequency > of hitting meter action becomes much higher, around 30us each time. > As a result, the meter's calculation of 'uint32_t delta_t' becomes > always 0 and meter action has n

[ovs-dev] [PATCHv3] dpif-netdev: fix meter at high packet rate.

2019-04-19 Thread William Tu
When testing packet rate around 1Mpps with meter enabled, the frequency of hitting meter action becomes much higher, around 30us each time. As a result, the meter's calculation of 'uint32_t delta_t' becomes always 0 and meter action has no effect. This is due to the previous commit 05f9e707e194 di