Klement, I didn't actually test that specific combo.
~0 was kept for backwards compatibility. If you raise the JIRA, assign it to me, and I will have a look. On Tue, Feb 27, 2018 at 5:33 AM Klement Sekera <ksek...@cisco.com> wrote: > 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 > > > >