DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [dpdk-users] A question about the link status of the intel E810 nic can not be up?
@ 2022-01-10  3:20 wangyunjian
  2022-01-10  9:29 ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: wangyunjian @ 2022-01-10  3:20 UTC (permalink / raw)
  To: dev, users, qiming.yang, qi.z.zhang; +Cc: Huangshaozhang, dingxiaoxiong

Hi, All:

I am using Intel E810 with DPDK v21.11 to create a dpdkbond but there
is a probability that the failure will occur.

During the test, the bonding is repeatedly added and deleted. Sometimes,
the link status of the NIC is Down. And if call ice_dev_set_link_up again,
the link status of the NIC can be recovered. 

Alternatively, the problem can be avoided by modifying the ice pmd driver.

diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 13a7a9702a..fcd22e20a5 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -3604,7 +3604,7 @@ ice_dev_start(struct rte_eth_dev *dev)
        ice_dev_set_link_up(dev);
 
        /* Call get_link_info aq commond to enable/disable LSE */
-       ice_link_update(dev, 0);
+       ice_link_update(dev, 1);
 
        pf->adapter_stopped = false;

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

end of thread, other threads:[~2022-01-10 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10  3:20 [dpdk-dev] [dpdk-users] A question about the link status of the intel E810 nic can not be up? wangyunjian
2022-01-10  9:29 ` Zhang, Qi Z
2022-01-10 10:17   ` wangyunjian

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).