[ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-04-30 Thread xiangxia . m . yue
From: Tonghao Zhang When setting the meter rate to 4+Gbps, there is an overflow, the meters don't work as expected. Cc: Ilya Maximets Cc: William Tu Cc: Jarno Rajahalme Cc: Ben Pfaff Cc: Andy Zhou Signed-off-by: Tonghao Zhang --- include/openvswitch/ofp-meter.h | 2 +- lib/dpif-netdev.c

Re: [ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-05-08 Thread William Tu
On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > When setting the meter rate to 4+Gbps, there is an overflow, the > meters don't work as expected. > > Cc: Ilya Maximets > Cc: William Tu > Cc: Jarno Rajahalme > Cc: Ben Pfaff > Cc: Andy Zhou

Re: [ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-05-08 Thread Tonghao Zhang
On Sat, May 9, 2020 at 7:12 AM William Tu wrote: > > On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > When setting the meter rate to 4+Gbps, there is an overflow, the > > meters don't work as expected. > > > > Cc: Ilya Maximets > > Cc: Wil

Re: [ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-05-09 Thread William Tu
On Sat, May 09, 2020 at 08:46:56AM +0800, Tonghao Zhang wrote: > On Sat, May 9, 2020 at 7:12 AM William Tu wrote: > > > > On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote: > > > From: Tonghao Zhang > > > > > > When setting the meter rate to 4+Gbps, there is an overflow, th