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
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
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 *
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
[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
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:
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 =
[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
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 :