Re: [ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-06-24 Thread Ilya Maximets
On 6/24/21 4:59 PM, Tonghao Zhang wrote: > On Wed, Jun 23, 2021 at 7:07 PM Ilya Maximets wrote: >> >> On 5/12/21 11:17 AM, xiangxia.m@gmail.com wrote: >>> From: Tonghao Zhang >>> >>> For now, ovs-vswitchd use the array of the dp_meter struct >>> to store meter's data, and at most, there are

Re: [ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-06-24 Thread Tonghao Zhang
On Wed, Jun 23, 2021 at 7:07 PM Ilya Maximets wrote: > > On 5/12/21 11:17 AM, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > For now, ovs-vswitchd use the array of the dp_meter struct > > to store meter's data, and at most, there are only 65536 > > (defined by MAX_METERS) meters

Re: [ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-06-23 Thread Ilya Maximets
On 5/12/21 11:17 AM, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > For now, ovs-vswitchd use the array of the dp_meter struct > to store meter's data, and at most, there are only 65536 > (defined by MAX_METERS) meters that can be used. But in some > case, for example, in the edge

Re: [ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-06-11 Thread Tonghao Zhang
On Wed, May 12, 2021 at 5:18 PM wrote: > > From: Tonghao Zhang > > For now, ovs-vswitchd use the array of the dp_meter struct > to store meter's data, and at most, there are only 65536 > (defined by MAX_METERS) meters that can be used. But in some > case, for example, in the edge gateway, we

Re: [ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-05-12 Thread 0-day Robot
Bleep bloop. Greetings Tonghao Zhang, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Comment with 'xxx' marker #107 FILE: lib/dpif-netdev.c:1745: * Use them

[ovs-dev] [PATCH v3] dpif-netdev: Expand the meter capacity.

2021-05-12 Thread xiangxia . m . yue
From: Tonghao Zhang For now, ovs-vswitchd use the array of the dp_meter struct to store meter's data, and at most, there are only 65536 (defined by MAX_METERS) meters that can be used. But in some case, for example, in the edge gateway, we should use 200,000+, at least, meters for IP address