Hi,

While doing some testing I noticed that vpp ends in a strange state when doing 
a specific stats dance:

1. want_interface_simple_stats
2. disconnect
3. connect
4. want_stats
5. disconnect
6. connect
7. want_interface_simple_stats

Now what happens is that vpp sends combined interface counters, though only 
simple were requested. It seems that using ~0 as item in various stats 
registration contexts, while reusing code for simple/combined counters doesn't 
play well if combined. If after 5.) you put a breakpoint on 
do_combined_interface_counters(), you'll see that it's called regularly even 
though the client is gone now...

This was seen with VAPI unit test and doing an explicit want_stats with 
enable_disable=0 workarounds the issue. I've added such fix, but I still think 
this should be fixed.

Regards,
Klement

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8345): https://lists.fd.io/g/vpp-dev/message/8345
View All Messages In Topic (1): https://lists.fd.io/g/vpp-dev/topic/13127198
Mute This Topic: https://lists.fd.io/mt/13127198/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to