Re: [vpp-dev] ARP and IPv6 ND punt to host?

2021-01-08 Thread hemant via lists.fd.io
These two lines of code clued me in on the punt path. I am all set. https://github.com/FDio/vpp/blob/master/src/plugins/unittest/punt_test.c#L24 https://github.com/FDio/vpp/blob/master/src/plugins/unittest/punt_test.c#L19 5 Hemant From: vpp-dev@lists.fd.io On Behalf Of hemant via

Re: [vpp-dev] VCL API failure

2021-01-08 Thread Florin Coras
Hi Vijay, VCL is part of our CI infra (see src/vcl/test/test_vcl.py), i.e., it’s constantly tested, so the issue is most probably configuration related. It looks like your vcl app (the server) cannot attach to vpp. Probably that's because of a mismatch of socket files. So, if you use the bina

Re: [vpp-dev] VCL API failure

2021-01-08 Thread hemant via lists.fd.io
I have never run any API tests. However, when you see a “connect failed”, please do a “ps -ef” on your machine and see if a prior test attempt has any lingering “app/script” running which you should kill. Hemant From: vpp-dev@lists.fd.io On Behalf Of Vijay Kumar Sent: Friday, January 08

[vpp-dev] VCL API failure

2021-01-08 Thread Vijay Kumar
Hi, " vppcom_connect_to_vpp:492: vcl<98:0>: ERROR app (ldp-98-app) connect failed! vppcom_app_create:1200: vcl<98:0>: ERROR couldn't connect to VPP! " Is anyone aware of this error??? I am using VCL. This is integrated as a client in my new plugin of VPP process while the VCL is integrated in a

[vpp-dev] VCL

2021-01-08 Thread Vijay Kumar
Hi, " vppcom_connect_to_vpp:492: vcl<98:0>: ERROR app (ldp-98-app) connect failed! vppcom_app_create:1200: vcl<98:0>: ERROR couldn't connect to VPP! " Is anyone aware of this error??? I am using VCL. This is integrated as a client in my new plugin of VPP process while the VCL is integrated in

Re: [vpp-dev] VPP New Plugin-Packet Forwarding

2021-01-08 Thread hemant via lists.fd.io
VLIB_TX setup issues can be caught with a Python test that plugins write. It would be good to write a Python test for your plugin and flush out interface-output issues. Several plugins in src/plugins/ directory include a "test" directory which has Python code. You can run an existing test using "

Re: [vpp-dev] VPP New Plugin-Packet Forwarding

2021-01-08 Thread Neale Ranns
Hi, In addition to defining what the next-node is, you need to be sure that your node sets all the necessary buffer meta data that the next node will use. For example interface-output expects that vnet_buffer(b)->sw_if_index[VLIB_TX] is set to the interface to transmit on. /neale From: vpp-dev

Re: [vpp-dev] VPP New Plugin-Packet Forwarding

2021-01-08 Thread hemant via lists.fd.io
Why don’t you ping to see what traffic is reachable and you will know if you need any routing and ARP or IPv6 ND setup. Hemant From: vpp-dev@lists.fd.io On Behalf Of Merve Sent: Friday, January 08, 2021 5:45 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP New Plugin-Packet Forwarding

[vpp-dev] VPP New Plugin-Packet Forwarding

2021-01-08 Thread Merve
Hi everyone, I added a new node to vpp and passed packets through this node during packet forwarding. Packet forwarding is between Trex and VPP. My packets passing through the new node were forwarded to vpp, but the packet transmission was not continued. There is no problem transmitting packets

Re: [vpp-dev] vpp crashing on latest master branch with mlx5 enabled

2021-01-08 Thread ashish . saxena
Hi Mohammed, I tried to compile vpp from the latest master branch on Cento8.2 machine , but the compilation is failing now when I am trying to build the external dependencies using the following command: make install-ext-deps Following are the error logs: [1056/1917] Linking target lib/librte_c

Re: [vpp-dev] Questions about no-multi-seg option in startup.conf

2021-01-08 Thread Benoit Ganne (bganne) via lists.fd.io
Yes this is expected: 'no-multi-seg' tells DPDK that all packets will consist of 1 and only 1 buffer (no chained buffers). Lots of DPDK PMDs supports vectorization (SSE, NEON...) only for this simpler case. When you set this option, DPDK can select the vectorized PMD instead of the more generic,