[ipxe-devel] Fwd: Intel X520 with 1GbE SFPs
Florian Rinke
git+ipxe at florianrinke.de
Fri Aug 24 11:36:23 UTC 2018
trying again, as the last try seems to have vanished somewhere in
mailing limbus
-------- Weitergeleitete Nachricht --------
Betreff: Intel X520 with 1GbE SFPs
Datum: Tue, 14 Aug 2018 18:22:24 +0200
Von: Florian Rinke <git+ipxe at florianrinke.de>
An: ipxe-devel at lists.ipxe.org
Hello iPXE folks,
as discussed with Michael on irc I'm sending you my results from
debugging connectivity issues with 1GbE-SFPs connected to an Intel 82599
Chip.
Symptoms were "Link not coming up" without any error messages, digging
through source code and datasheet showed that initialization currently
assumes default values for AUTOC register to be sufficient - which it is
not for GBit SFPs. I found two working scenarios, which I've attached:
0001a) Set "Link mode select" for 1GbE, causes link to come up
instantly, but would probably prevent 10GbE connections
0001b) Set "Link mode select" to have autodiscovery include 1GbE links.
This allows links to come up, should also work for 10G links, but has a
heavy delay (I measured random times between 10 and 50 seconds...).
Additionally, I stumbled upon an issue with CRC stripping (see patch
0002). Currently bit 0 in RDRXCTL is set for enabling HW CRC stripping,
but according to the datasheet (Rev. 3.3, March 2016) it should be bit
1. Unfortunately, bit 0 is simply missing in the relevant table (also in
older versions I found from 2012 and 2009).
Unfortunately I have no means of testing the variants on different
hardware, especially with 10GbE-connections. Probably it would be better
to actively try different link options; is something like this already
implemented somewhere else in iPXE?
Best regards,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001a-intelx-enable-autoconnection-for-1GbE-SFP-modules.patch
Type: text/x-patch
Size: 1935 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180824/3ddac34c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001b-intelx-enable-autoconnection-for-1GbE-SFP-modules.patch
Type: text/x-patch
Size: 1934 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180824/3ddac34c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-intelx-set-correct-RDRXCTL.CRCStrip-bit.patch
Type: text/x-patch
Size: 998 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180824/3ddac34c/attachment-0002.bin>
More information about the ipxe-devel
mailing list