Re: [ovs-dev] [PATCH] vconn: Count vconn_sent regardless of log level.

2024-01-05 Thread Cheng Li
On Thu, Jan 04, 2024 at 03:16:59PM +0100, Maximets wrote: > On 1/4/24 14:53, Cheng Li wrote: > > vconn_sent counter is supposed to increase each time send() is > > called, no matter if the vconn log debug is on or off. > > Good catch! But I think the intention was fr it to be increased > each tim

Re: [ovs-dev] [PATCH] vconn: Count vconn_sent regardless of log level.

2024-01-04 Thread Ilya Maximets
On 1/4/24 14:53, Cheng Li wrote: > vconn_sent counter is supposed to increase each time send() is > called, no matter if the vconn log debug is on or off. Good catch! But I think the intention was fr it to be increased each time we successfully sent something, not when the function was called. T

[ovs-dev] [PATCH] vconn: Count vconn_sent regardless of log level.

2024-01-04 Thread Cheng Li
vconn_sent counter is supposed to increase each time send() is called, no matter if the vconn log debug is on or off. Signed-off-by: Cheng Li --- lib/vconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vconn.c b/lib/vconn.c index b556762..2513b03 100644 --- a/lib/vcon