DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] IXBGE VF: link state detection
@ 2017-05-24  9:50 Gregory Etelson
  2017-05-24 13:26 ` [dpdk-users] [dpdk-dev] " Olivier Matz
  2017-05-25  0:56 ` [dpdk-users] " Lu, Wenzhuo
  0 siblings, 2 replies; 11+ messages in thread
From: Gregory Etelson @ 2017-05-24  9:50 UTC (permalink / raw)
  To: dev; +Cc: users, Ferruh Yigit, wenzhuo.lu

Hello,

In my tests DPDK-17.05.0 process queries link state with rte_eth_link_get() each 50 msec
during 5-20 MB/sec IOs flow.
I turn Ethernet switch port down and up and check IXGBE VF PMD reaction to link state changes. 
VF PMD correctly recognize link down events but may miss link up.
When the fault occurs, subsequent calls to rte_eth_link_get will return link_status == 0 forever.
I need to reset DPDK process to get correct link state value.
My debugging shows that in case of the fault, mbx->ops.read(hw, &in_msg, 1, 0) in ixgbe_check_mac_link_vf
keeps returning non-zero value

Regards,
Gregory

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-05-26  4:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24  9:50 [dpdk-users] IXBGE VF: link state detection Gregory Etelson
2017-05-24 13:26 ` [dpdk-users] [dpdk-dev] " Olivier Matz
2017-05-25  3:48   ` Gregory Etelson
2017-05-25  0:56 ` [dpdk-users] " Lu, Wenzhuo
2017-05-25  3:45   ` Gregory Etelson
2017-05-25  5:01     ` Lu, Wenzhuo
2017-05-25  5:22       ` Gregory Etelson
2017-05-25  5:44         ` Lu, Wenzhuo
2017-05-25  6:03           ` Gregory Etelson
2017-05-26  0:54             ` Lu, Wenzhuo
2017-05-26  4:25               ` Gregory Etelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).