Hi Yalei, You have an example of how to write a vcl.conf file in vcl/vcl_test.conf. It’s just an example, so if you want to try out eventfd, here’s what I’ve been recently using:
vcl { rx-fifo-size 4000000 tx-fifo-size 4000000 app-scope-local app-scope-global api-socket-name /run/vpp-api.sock use-mq-eventfd } For this to work, vpp must come up with the binary api socket transport configured and the session layer event queues must be allocated in a memfd segment. So, add the following to your vpp startup conf: socksvr { socket-name /run/vpp-api.sock } session { evt_qs_memfd_seg } Also, to have vcl read your config file, remember to do something like: "export VCL_CONFIG=/path/to/your/file”. Finally, this is still very much ongoing work so if you hit any issues, do let me know :-) Hope this helps, Florin > On Aug 14, 2018, at 5:38 AM, 汪亚雷 <wyland...@gmail.com> wrote: > > Hi Florin, > > vppcom_cfg_read_file will try to parse the vcl.conf, but where could I get > the example? > > actually I want to have a try "use-mq-eventfd" > > Thanks! > > /yalei
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10147): https://lists.fd.io/g/vpp-dev/message/10147 Mute This Topic: https://lists.fd.io/mt/24524596/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-