We have several HP DL380Gen9 with x520 10Gb NIC, and use CentOS. After Update CentOS 7.2 to 7.4, we found same SFP+ module (HP 10Gb SR SFP+) behave differently:
1, Centos 7.2+ixgbe 5.3.7: SFP+ Module works fine.
2, CentOS 7.4+ixgbe 5.3.7: SFP+ Module doesnot work. The value of comp_codes_10g/comp_codes_1g in ixgbe_identify_sfp_module_generic of ixgbe driver is zero, and cause the SFP+ modules cannot be identified.
By comparison test, we also found:
1, Using allow_unsupported_sfp param cannot fix this problem.
2, Using CentOS 7.4+x520+other SFP+ module(from HPE or other vendor), SFP+ Module can work fine.
These make us very confused and wanna to know:
1, the reason of comp_codes_10g/comp_codes_1g becomes zero.
2, how fix this problem.
3, is it related to kernel or driver.
Any ideas and suggestions will be appreciated, Tks a lot!
Thank you for posting in Intel Wired Ethernet Communities. Please let us know if the X520 is integrated into the board or a PCIe adapter, and specify the vendor of the adapter. Please provide the output of uname, so we can see the kernel version. Please provide lshw -class network and ethtool -i outputs if the NIC is detected.
Intel Customer Support
Sorry to reply late.
We contacted the hardware supplier,and they told us these SFP+ module were too old to use. We had to replace this type SFP+, and we are dealing with it.
Therefore, this issue could be closed as hardware problem.
However, I still confused about the reason. We modified the ixgbe drivers, by setting value of comp_codes_10g to 10g, the SFP+ module seem to works fine.
Thx a lot!