Re: [vpp-dev] Unknown input `tap connect` #vpp

2020-04-14 Thread steven luong via lists.fd.io
tapcli has been deprecated few releases ago. It has been replaced by virtio over tap. The new cli is create tap … Steven From: on behalf of "mauricio.solisjr via lists.fd.io" Reply-To: "mauricio.soli...@tno.nl" Date: Tuesday, April 14, 2020 at 3:55 AM To: "vpp-dev@lists.fd.io" Subject: [vp

Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Sun, Chenmin
Hi Florin, You can ignore the DPDK checksum flag as it won’t be passed to next graph nodes(I thought this is a bug and I’ve pushed a patch to fix it, see https://gerrit.fd.io/r/c/vpp/+/26480. With my patch the L4 checksum flags that come from DPDK rte_mbuf.flags can be passed to VPP vlib_buf.fl

Re: [vpp-dev] Macswapplugin compilation failure

2020-04-14 Thread tupai via lists.fd.io
Thanks Damjan. That worked. However, I think the file src/examples/sample-plugin/sample_plugin_doc.md is still outdated. sample.am file seems to be no longer required. Looks like CMakeLists.txt takes care of everything. I will try to update this file once I figure it out. Regards, Surajit > O

Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Florin Coras
Hi Chenmin, If packets are marked as having a bad csum, or marked as needing a csum and that turns out to be wrong after ip-local computes it, ip-local should drop them. From the trace lower, l4 csum is reported as bad by dpdk. So why is this unexpected? Regards, Florin > On Apr 14, 2020, a

Re: [vpp-dev] #vat How can I use vpp_api_test via socket file

2020-04-14 Thread Dave Barach via lists.fd.io
Please try https://gerrit.fd.io/r/c/vpp/+/26505. Bit rot. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16071): https://lists.fd.io/g/vpp-dev/message/16071 Mute This Topic: https://lists.fd.io/mt/73008683/21656 Mute #vat: https://lists.fd.io/mk?has

Re: [vpp-dev] Macswapplugin compilation failure

2020-04-14 Thread Damjan Marion via lists.fd.io
that code seems to be seriously outdated, take sample plugin from the src/examples/sample-plugin https://git.fd.io/vpp/tree/src/examples/sample-plugin — Damjan > On 14 Apr 2020, at 15:14, tupai via lists.fd.io > wrote: > > Hi All, >

Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Sun, Chenmin
Hi Florin, But what I saw in current master branch is, the bad checksum packets are all dropped in ip4-local node. See log below: 00:06:42:511858: dpdk-input 1/2 rx queue 0 buffer 0xfe57e2: current data 0, length 124, buffer-pool 0, ref-count 1, totlen-nifb 0, trace handle 0x100

[vpp-dev] Macswapplugin compilation failure

2020-04-14 Thread tupai via lists.fd.io
Hi All, I was following the Macswap Breakdown YouTube video and downloaded the tarball. Steps: tar -zxvf macswap-plugin.tar.gz -C /root/vpp-dev/vpp/devboot cd /root/vpp-dev/vpp/devboot/macswap-plugin/ autoreconf -i -f mkdir build cd build ../configure --with-plugin-toolkit [root@vpp-dev build]# m

[vpp-dev] #vat how to use VPP and vpp_api_test in K8s 's POD

2020-04-14 Thread wei_sky2008
In our project, we want to use VPP for external communication in pod In this pod, I want to use two containers to allow VPP and vpp_api_test respectively , VPP is used to process messages received by pod from dpdk bound network card,and vpp_api_test is used to configure VPP when messages are rece

Re: [vpp-dev] exporting plugin functions/symbols to global space

2020-04-14 Thread Dave Barach via lists.fd.io
As a matter of discipline, you’d be better off to continue binding symbols explicitly. Otherwise, what you end up with amounts to one plugin split into pieces. As things stand, if someone misconfigures the set of loaded plugins it ought to be obvious what happened. (“Where is the foo plugin?”).

[vpp-dev] exporting plugin functions/symbols to global space

2020-04-14 Thread Satya Murthy
Hi, I remember seeing some questions regarding this in fdio mailing list, but not able to find it now. We have a plugin which has 10 functions that are needed by 3 other plugins ( which are owned by us ). As of now, we are doing vlib_get_plugin_symbol() and getting the symbols. But , I remembe

[vpp-dev] #vat How can I use vpp_api_test via socket file

2020-04-14 Thread wei_sky2008
Hello, I am trying to connect VPP by vpp_vat_socket via socket file. However I am not able to connect to VPP via vpp_api_test over the socket file. Is this expected behavior? How to connect to vpp via vpp_api_test over custom socket file? Thank you. My startup.conf unix { cli-listen /run/v

[vpp-dev] Unknown input `tap connect` #vpp

2020-04-14 Thread mauricio.solisjr via lists.fd.io
Hi, I am trying to connect a tap interface to a vpp using "tap connect tap0" command.  I am receive an "Unknown input" error whenever I attempt it. Am I missing a plugin? I'm on CentOS7 running vpp v20.01 and the following are my plugins. abf_plugin.so gbp_plugin.so  mactime

Re: [vpp-dev] dpdk-20.02 compile error for Intel atom

2020-04-14 Thread Damjan Marion via lists.fd.io
+1, -march=atom is bad, you likely have newer ATOM CPU, so consider using -march={silvermont,goldmont,goldmont-plus}. What exact CPU are you targeting? — Damjan > On 14 Apr 2020, at 12:13, Benoit Ganne (bganne) via lists.fd.io > wrote: > > Hi, > > This is a dpdk issue, not a VPP issue. H

Re: [vpp-dev] dpdk-20.02 compile error for Intel atom

2020-04-14 Thread Benoit Ganne (bganne) via lists.fd.io
Hi, This is a dpdk issue, not a VPP issue. However, it looks like your target does not support SSE4.1 which seems to be needed by librte_acl. ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of > mythosmonkeyk...@163.com > Sent: lundi 13 avril 2020 11:52 > To: vpp-dev@lis