Re: [vpp-dev] AF_XDP usage help in VPP21.01

2021-05-19 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Xuekun, > Thanks for reply. However my kernel is 5.7.19, and I checked that only the > first patch was included. > So, any more thoughts? Can you try https://gerrit.fd.io/r/c/vpp/+/32384 and see if it fixes you issue? Best ben > -Original Message- > From: Benoit Ganne (bganne) > Se

Re: [vpp-dev] plugin to filter packets

2021-05-19 Thread Matthew Smith via lists.fd.io
Hi Alex, In order to drop some packets while passing all others on to the next node in the feature arc, you can use vnet_feature_next(). It will find the index of the next node on the feature arc and populate it into a pointer that you pass in. The next_nodes in your node declaration ( .next_node

Re: [vpp-dev] Quick question on VPP on : How to Embed VPP as library

2021-05-19 Thread Akash S R
Thanks Dave, Will check it out and get back here if any query is to be addressed. Regards, Akash On Wed, May 19, 2021, 4:51 PM wrote: > Long ago, we decided to strictly separate the vpp data plane process from > its control plane process(es); as a matter of fault containment if nothing > else.

Re: [vpp-dev] Quick question on VPP on : How to Embed VPP as library

2021-05-19 Thread Dave Barach
Long ago, we decided to strictly separate the vpp data plane process from its control plane process(es); as a matter of fault containment if nothing else. As a practical matter, if you want to build vpp as a library you could change .../src/vpp/vnet/main.c in trivial ways, and adjust .../src/

Re: [vpp-dev] Maximum support in vpp

2021-05-19 Thread Aiyasamy2 Dhanasekaran
Need of maximum values for the latest vpp version "vpp 21.06" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19409): https://lists.fd.io/g/vpp-dev/message/19409 Mute This Topic: https://lists.fd.io/mt/82929774/21656 Group Owner: vpp-dev+ow...@lists.

[vpp-dev] Quick question on VPP on : How to Embed VPP as library

2021-05-19 Thread Akash S R
Hi All, We are using VPP version 21.06 (Latest) We understand that vpp package consists of libraries , plugins,dev and debugs utilities and runs as exe . But as per our current usage , we have a control plane application layer from which we have included VPP packages as libraries from our Makefile

[vpp-dev] srv6 end.ad.flow crash

2021-05-19 Thread srsdellsound via lists.fd.io
Hi All, I use the latest vpp master branch and configure end.ad.flow to send traffic for a period of time. vpp crashed, the relevant information is as follows (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x7f9fba2fb859 in __GI_abort () at abort