[vpp-dev] Create separate directory for APIs

2017-06-21 Thread Samuel S
Hi I want to write some VPP API and I decide to create separate directory for this APIs. Which libraries are required to register this API? What is the right way to add and register APIs? How to add this directory to Makefile? Thanks. ___ vpp-dev mailing

[vpp-dev] fatal error: rte_config.h: No such file or directory

2017-06-28 Thread Samuel S
i need to include dpdk.h from plugins/dpdk/device/ but when i include this header compiler give this error: fatal error: rte_config.h: No such file or directory #include who can i fix this probleam? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://

[vpp-dev] how can i include dpdk.h header file in vnet?

2017-07-04 Thread Samuel S
Hi I want to include header file dpdk.h from src/plugin/dpdk/device to src/vnet/interface_api.c, but when i compile vpp with build.sh, An error occurs in the compilation process. /root/vpp/build-data/../src/vnet/interface_api.c:76:35: fatal error: dpdk/dpdk.h: No such file or directory #include _

[vpp-dev] C language binding API

2017-08-28 Thread Samuel S
Where can i find tutorial for C language binding for API? or how can i communicate to API through C language? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] how can i compile vpp-api/client

2017-08-28 Thread Samuel S
How can i compile test.c in vpp-api/client directory? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] How can i call acl_add_replace from python?!

2017-09-10 Thread Samuel S
Hi I have python file for calling APIs. and i can call APIs. But i have probleam when i want calling acl_add_replace, How can i send parameter to r variable of acl_add_replace ? This is acl_add_replace API struct manual_print manual_endian define acl_add_replace { u32 client_index; u32 context

[vpp-dev] Write simple program that can work with VPP API

2017-12-10 Thread Samuel S
Hi, I decide to write some simple program that can work with VPP API. in other word i want call some vpp api in my simple program. I want interact with VPP through C application. and i read wiki but i think i have some mistake, or i can't fully und

[vpp-dev] undefined refrence to

2017-12-10 Thread Samuel S
Hi, Finally i can write something that can be built (i think). but i have some issue. i include api_common.h, api_helper_macro.h and vat_helper_marcors.h but i can't make it and compiler says: /***/ gcc -Wall -I/usr/include -I/usr/include/vpp_