Re: [vpp-dev] report: linux-cp api dumpLcpPairList bug

2022-04-16 Thread Petr Boltík
Thank you, I have successfully tested your python code and I have finally found a point of issue. # I have 4 core cpu, maincore 0, workers 3 (apu4d4). 1. restart vpp service (cpu0 drop to 0%) 2. add lcp pair (ok, cpu0 0%) (using vppctl) 3. python test (test ok, cpu0 0% after test) 4. go govppLcpD

Re: [vpp-dev] report: linux-cp api dumpLcpPairList bug

2022-04-16 Thread Pim van Pelt
Hoi Petr, Thanks for the repro. I've matched the same program using Python API, no errors: vpp = VPPApiClient(apifiles=jsonfiles, server_address='/run/vpp/api.sock') vpp.connect("test-client") r = vpp.api.show_version() print(f'VPP version is {r.version}') total=0 for i in range(1000):

Re: [vpp-dev] report: linux-cp api dumpLcpPairList bug

2022-04-15 Thread Petr Boltík
OT: sorry, I did not send this email to vpp-dev, the second attempt. Copy below EDIT: api message is LcpItfPairGet. Hi Pim, govpp (go) is used for API communication. I have just discovered a way how to reproduce an issue in my home environment. Test utility can be hound at github (also with pre

Re: [vpp-dev] report: linux-cp api dumpLcpPairList bug

2022-04-15 Thread Pim van Pelt
Hoi Petr, I do not observe this with linux-cp or lcpng on Python API, after doing O(10k) lcp_itf_pair_get() calls. There was a message on this mailinglist about lcp_itf_pair_add_del() giving unexpected error codes even though the create/delete was successful. What you say dumpLcpPairList, which la