Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-25 Thread Andrew Yourtchenko
Hi Chinmaya, This fix causes an incompatible change to three messages because they are all using the compound type being modified... it *also* uncovered an at least a year-long bug that would cause these changes slip under the radar - so thanks for helping catch it ! :-) You can rebase your pa

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Ok, and how can we use S and W functions in our application to send request and wait for reply? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16818): https://lists.fd.io/g/vpp-dev/message/16818 Mute This Topic: https://lists.fd.io/mt/75100285/2165

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Dave Barach via lists.fd.io
Unless you’re doing vector processing, vlib is not useful. Here is the CMakeLists.txt entry for vpp_api_test. It’s not likely that you’ll need libvatplugin.so, but you get the idea... ## # vpp_api_test #

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
I am following fd.io wiki link https://wiki.fd.io/view/VPP/How_To_Use_The_C_API It says so. Are we not suppose to link vlib? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16816): https://lists.fd.io/g/vpp-dev/message/16816 Mute This Topic: https://

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Dave Barach via lists.fd.io
Why are you linking against vlib? From: vpp-dev@lists.fd.io On Behalf Of Chinmaya Aggarwal Sent: Thursday, June 25, 2020 6:48 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP C API application compilation issue on using S and W functions Hi, We are testing VPP C API for our use case. We have a

[vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Hi, We are testing VPP C API for our use case. We have a scenario where we want to wait for the reply of our API request. For this, we are trying to use S and W functions defined in src/vlibapi/vat_helper_macros.h. But we get the following error on compiling our source code : - root@ggnlabvm-hn

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27668 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16813): https://lists.fd.io/g/vpp-dev/message/16813 Mute This Topic: https://lists.fd.io/mt/74894689/21656 Group Owner: vpp-dev+ow...@

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27656 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16812): https://lists.fd.io/g/vpp-dev/message/16812 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner: vpp-dev+ow...@