[vpp-dev] Notifier events on ip assignment/change

2020-07-09 Thread aish84
Hi, Is there a way to register to some notification in VPP so that I can get events when an interface gets an Ip address either statically or via DHCP? Scenario is that I would need to open some sockets on an interface and if ip address changes in case of  DHCP lease expire, I want to open socket

Re: [vpp-dev] executing vpp hoststack setup

2020-07-09 Thread Florin Coras
Hi, Yes, it can. That is, you can run iperf + vpp on one side and iperf + linux on the other. Regards, Florin > On Jul 8, 2020, at 2:17 PM, sadhanakesa...@gmail.com wrote: > > Hi , > I am trying to execute this example here for hoststack : > https://wiki.fd.io/view/VPP/HostStack/LDP/iperf

Re: [vpp-dev] Replacing master/slave nomenclature

2020-07-09 Thread Dave Barach via lists.fd.io
Looping in the technical steering committee... -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Stephen Hemminger Sent: Thursday, July 2, 2020 7:02 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Replacing master/slave nomenclature Is the VPP project addressing the use of master/s

Re: [vpp-dev] Vectors/node and packet size

2020-07-09 Thread Jeremy Brown via lists.fd.io
Thanks for you reply.. I looked at your references, and I did notice in docs.fd.io they seem to see the same behavior, which is good to corroborate what were seeing… but I am still unclear as to why… I assumed that we are simply dealing with pointers to the pkt, and there is no copying or extra

[vpp-dev] Replacing master/slave nomenclature

2020-07-09 Thread Stephen Hemminger
Is the VPP project addressing the use of master/slave nomenclature in the code base, documentation and CLI? We are doing this for DPDK and it would be good if the replacement wording used in DPDK matched the wording used in FD.io projects. Particularly problematic is the use of master/slave in b

Re: [vpp-dev] vpp-20.01/src/vlib/threads.c:1408 (vlib_worker_thread_barrier_sync_int) assertion `vlib_get_thread_index () == 0'

2020-07-09 Thread Dave Barach via lists.fd.io
Do not call vlib_worker_thread_barrier_sync() on a worker thread. From: vpp-dev@lists.fd.io On Behalf Of ais...@gmail.com Sent: Thursday, July 9, 2020 1:44 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp-20.01/src/vlib/threads.c:1408 (vlib_worker_thread_barrier_sync_int) assertion `vlib_get_th

Re: [vpp-dev] Connecting PCI interface to VPP without VPP restart

2020-07-09 Thread bganne via []
> A general way to configure kernel interface in VPP is to whitelist that > interface (using its PCI address), bringing down the interface and then > restarting VPP. But, is there a way we can configure kernel interface in > VPP at runtime (using some commands may be) without restarting VPP? This

Re: [vpp-dev] vpp-20.01/src/vlib/threads.c:1408 (vlib_worker_thread_barrier_sync_int) assertion `vlib_get_thread_index () == 0'

2020-07-09 Thread Benoit Ganne (bganne) via lists.fd.io
> I am using vpp20.01 on multicore env running on a VM and getting a crash: > (vlib_worker_thread_barrier_sync_int) assertion `vlib_get_thread_index () > == 0' fails You are not supposed to take the worker barrier from a worker thread. You can use vl_api_rpc_call_main_thread() to call the main th