[vpp-dev] Not getting DHCP ip on second DPDK interface

2020-07-28 Thread aish84
Hi, I created two DPDK interface on ubuntu VM and setting them to DHCP client. But only one interface gets DHCP IP. 1. BGvpp# show int Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter           Count GigabitEthernet2/1/0              1     down         9000/0/0/0

[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

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

2020-07-08 Thread aish84
Hi, 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 * Startup.conf snippet: cpu { main-core 0 corelist-workers 1 } In code I am trying something like this: clib_error_t *

Re: [vpp-dev] VPP20.01: vpp-20.01/src/vnet/session/application.c:960 (vnet_listen) assertion `vlib_thread_is_main_w_barrier ()' fails

2020-07-07 Thread aish84
Hi Florin, Thanks a lot for the input. Tried your suggestion and it looks good. One query: Is this applicable to "vnet_connect_uri" api as well? I.e it shall be called from main thread? Regards, Aishwarya -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] VPP20.01: vpp-20.01/src/vnet/session/application.c:960 (vnet_listen) assertion `vlib_thread_is_main_w_barrier ()' fails

2020-07-06 Thread aish84
[Edited Message Follows] HI, I am trying to run a VPP application on multicore env and get a crash when I call 'vnet_bind_uri'. If I run in just without workers in startup.conf, I dont get any crash. Please if someone can help me understand why is this crash coming? I am using VPP 20.01 on a

[vpp-dev] VPP20.01: vpp-20.01/src/vnet/session/application.c:960 (vnet_listen) assertion `vlib_thread_is_main_w_barrier ()' fails

2020-07-06 Thread aish84
HI, I am trying to run a VPP application on multicore env and get a crash when I call 'vnet_bind_uri'. If I run in just without workers in startup.conf, I dont get any crash. Please if someone can help me understand why is this crash coming? I am using VPP 20.01 on a Ubuntu VM: startup.conf:

Re: [vpp-dev] Crash on setting interface as DHCP client #vpp #vpp-20.01

2020-06-15 Thread aish84
Hi Ben, This patch seems to be already applied in VPP20.01. int dhcp_client_for_us (u32 bi, vlib_buffer_t * b, ip4_header_t * ip, udp_header_t * udp, dhcp_header_t * dhcp) { dhcp_client_main_t *dcm = _client_main; *vlib_main_t *vm = dcm->vlib_main;* dhcp_client_t *c; uword *p; *f64 now =

[vpp-dev] Crash on setting interface as DHCP client #vpp #vpp-20.01

2020-06-15 Thread aish84
[Edited Message Follows] Hi Team, I am facing an issue when I try to set the interface to DHCP Client on VPP-20.01 with  worker thread enabled in the startup.conf. Environment Used: 1. Vpp 20.01 running on a Ubuntu 16.01 VM. 2. Two CPU cores allocated cat /proc/cpuinfo  | grep processor

[vpp-dev] Crash on setting interface as DHCP client #vpp #vpp-20.01

2020-06-15 Thread aish84
Hi Team, I am facing an issue when I try to set the interface to DHCP Client on VPP-20.01 with  worker thread enabled in the startup.conf. Environment Used: 1. Vpp 20.01 running on a Ubuntu 16.01 VM. 2. Two CPU cores allocated cat /proc/cpuinfo  | grep processor processor    : 0 processor    :