Hello,
I am using stable_18_01.
I have been observing a delay in setting the 10G NIC interface state to UP.
It is apparent from VPP CLI itself that using “set interface state
TenGigabitEthernet3/0/0 up” taking some time.
And I also see that the SHM client api “sw_interface_set_flags” fails in
timeout at the below code snippet.
Client code for setting the interface flags..
/* Construct the API message */
M (SW_INTERFACE_SET_FLAGS, mp);
mp->sw_if_index = ntohl (msgp->sw_if_index);
mp->admin_up_down = msgp->admin_up_down;
S (mp);
W (ret);
And I get “ret” value as “-99” from W(ret) as it times-out for waiting for the
response from VPP.
/* W: wait for results, with timeout */
#define W(ret) \
do { \
f64 timeout = vat_time_now (vam) + 1.0; \
socket_client_main_t *scm = &vam->socket_client_main; \
ret = -99; \
\
vl_socket_client_read_reply (scm); \
while (vat_time_now (vam) < timeout) { \
if (vam->result_ready == 1) { \
ret = vam->retval; \
break; \
} \
vat_suspend (vam->vlib_main, 1e-5); \
} \
} while(0);
This is the dpdk information from dpdk.
Network devices using DPDK-compatible driver
============================================
0000:03:00.0 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' drv=vfio-pci
unused=uio_pci_generic
0000:03:00.1 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' drv=vfio-pci
unused=uio_pci_generic
0000:05:00.0 'I350 Gigabit Network Connection 1521' drv=vfio-pci
unused=uio_pci_generic
0000:05:00.1 'I350 Gigabit Network Connection 1521' drv=vfio-pci
unused=uio_pci_generic
Is this a known issue? Do you have any fix/suggestion?
Thanks,
Leela sankar
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10560): https://lists.fd.io/g/vpp-dev/message/10560
Mute This Topic: https://lists.fd.io/mt/25751652/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-