Bug 1170

Summary: Link status is not correclty updated for E810 NIC (ice driver) on Windows
Product: DPDK Reporter: Eric Houet (e.houet)
Component: ethdevAssignee: qi.z.zhang (qi.z.zhang)
Status: UNCONFIRMED ---    
Severity: normal CC: a.pollenus, david.marchand, ktraynor, qiming.yang, qi.z.zhang
Priority: Normal    
Version: 22.11   
Target Milestone: ---   
Hardware: All   
OS: Windows   

Description Eric Houet 2023-02-28 17:52:18 CET
Hello,

I have an issue regarding the link status when using a Intel E810 NIC with DPDK.

I have a simple sample which simply loops, call `rte_eth_link_get` and prints the result.

When using a E810 NIC, I have the following behaviour : 
- At the start of the test, the cable is plugged in;
- I launch the sample, the link is reported as up (as expected)
- I unplug the cable
- The link is still reported as up in the sample (not expected).
- I stop the sample and relaunch it
- The link is reported as down by the sample (as expected)
- I replug the cable
- The link is still reported as down by the sample (not expected).

I looks like, once DPDK is started, the link status of the device is not correctly updated.

When trying this with an XXV710 (i40e driver), i have no issue.

According to the Overview of Networking Drivers( https://doc.dpdk.org/guides-21.02/nics/overview.html ), the ice driver is compatible  with "Link Status" and "Link Status Event" functionalities.

-------------------------------------------------------------
Setup:
- DPDK v22.11.1
- DDP : ice-1.3.30.0.pkg.
Comment 1 Kevin Traynor 2023-03-01 16:07:33 CET
Adding ICE maintainers
Comment 2 Antoine Pollenus 2023-03-23 10:53:13 CET
After more investigation the issue is not present on linux.

This issue ONLY appear on Windows.