<div dir="ltr"><p>Hi Guys,</p>
<p>Dpdk verion : 18.11<br></p>
<p>Could you please help me figure out why get link status still reports interface as UP even though the link is Down.<br></p>
<p>Intel card:<br></p>
<p>06:00.0 Ethernet controller: Intel Corporation Device 15e4 (rev 11) - X553<br>06:00.1 Ethernet controller: Intel Corporation Device 15e4 (rev 11) - X553<br>07:00.0 Ethernet controller: Intel Corporation Device 15e5 (rev 11) - X553<br></p>
<p>Problem: Even after bringing DOWN the port, get link status still reports interface UP.<br></p>
<p>My investigation:</p>
<p>1.
in ixgbe/base/ixgbe_type.h i see these being defined. Not sure why its
defined under this following comment /* Placeholder value, pending
official value. */ <br></p>
<p>#define IXGBE_DEV_ID_X550EM_A_1G_T 0x15E4<br>#define IXGBE_DEV_ID_X550EM_A_1G_T_L 0x15E5</p>
<p>From this detail i can conclude we have support for above nics.<br></p>
<p>2. <a href="https://doc.dpdk.org/guides-18.11/nics/ixgbe.html#supported-chipsets-and-nics" target="_blank">https://doc.dpdk.org/guides-18.11/nics/ixgbe.html#supported-chipsets-and-nics</a> - This link has supported nics and these above nics are not listed under this.</p>
<p><br></p>
<p>3. After putting some debug statement in ixgbe driver the problem seem to be in base/ixgbe_common.c(ixgbe_check_mac_link_generic() function)<br></p>
<p> links_orig = IXGBE_READ_REG(hw, IXGBE_LINKS);<br> links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS);<br> if (links_orig != links_reg) {</p>
<p>4. I suspect on the resister value used to identify the link status is messing up. <br></p>
<p>Could you please provide your input. <br>
</p>
<p>Thank you so much for your time.</p><p>Pushpadant</p></div>