- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, all.
I attempt to launch the Ethernet 1Gb link through the 1G/10Gbe and 10GBASE-KR PHY Intel Arria 10 FPGA IP.
1Gb patch-cord connects SFP+ port from board with Arria10 with SFP+ port on Mikrotik router.
On Mikrotik SPF+ port Auto-Negotiation is disabled and only speed 1Gb is enabled.
Configuration of 1G/10Gbe and 10GBASE-KR PHY IP is:
IP variant: 1G/10Gb Ethernet
Initial datapath: 1G
tab 10M/100M/1Gb Ethernet -> Enable 1Gb Ethernet protocol = enabled
tab Speed detection -> Enable automatic speed detection = disabled
1G/10Gbe and 10GBASE-KR PHY IP asserts rx_syncstatus and led_link, because accepts BCh 50h pairs.
Router also established link (see attachment).
I see outgoing traffic on the router port.
1. I see ingoing packets (LLDP) on RX on 1G/10Gbe and 10GBASE-KR PHY IP.
I see them on XGMII_RX_DATA[7:0] although I would have expected them on gmii_rx_data since the speed 1Gb is set.
Why used XGMII interface instead of GMII?
2. 1G/10Gbe and 10GBASE-KR PHY IP provides 8bit GMII interface in accordance with documentation.
But I see some changes in XGMII_RX_DATA bits from 8 up to 15.
I know XGMII_RX_DATA[71:0] interface includes data and control for 8 lanes. Each lane consists of 8 bits of data and 1 bit of control.
There are not in the Arria 10 Transceiver PHY documentation the information about this mode of using XGMII interface (when data expected by 8bit GMII interface really transferred by 72bit XGMII interface). Could someone tell me where such usage is described?
3. I performed the following test. Connect the PHY.XGMII_RX_DC to PHY.XGMII_TX_DC (loopback).
But I didn't see the incoming traffic on router port. Why?
Code was started from Intel example:
Thank in advance for help.
Dmitry.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dmitry,
Q1. Can you check back whether you got connect to the correct port?
Q2. In the documentation, it only shows about the xgmii_rx_data[63:0]/[31:0].
The width is:
• 64 bits for 1G/2.5G/10G configurations.
• 32 bits for 10M/100M/1G/2.5G/5G/10G (USXGMII) configurations.
For further information, you may refer to link below https://www.intel.com/content/www/us/en/docs/programmable/683617/21-1/1g-2-5g-5g-10g-multi-rate-ethernet-phy.html
Best regards,
zying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, zying.
Q1. I checked. I connected to correct port.
Q2. I use 1G/10Gbe and 10GBASE-KR PHY Intel Arria 10 FPGA IP, not 1G/2.5G/5G/10G Multi-rate Ethernet PHY.
In https://www.intel.com/content/www/us/en/docs/programmable/683426/18-1-18-1/ll-ethernet-10g-mac-operating-modes.html
in chapter 1.3 I read:
Speed Mode: 1G/10G
MAC Interface:
- 8-bit GMII
- 32-bit XGMII
- 64-bit XGMII (Use legacy Ethernet 10G MAC XGMII interface enabled
Intel® PHY Compliance: 1G/10GbE Ethernet PHY IP
How I can manage which interface will be used? I think the interface is selected by CORE automatically. But I didn't find this information (which interface used on which speed) in documentation. It was my question 1.
Best regards,
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dimistry,
Do you only using the Start of Frame control byte only?
XGMII is required to have the Start Of Frame control byte aligned to lane/byte 0 and the SFD aligned to lane 3 with the first byte of the packet on lane 0 but GMII (being a byte interface) is only required to align the Start of Frame control byte to lane 0.
Best regards,
zying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dimistry,
Is there any update from your side?
Best regards,
zying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Zying
I use only 8 lowest bits (lane 0) in XGMII tx data bus and 1 next bit (8th) as control bit.
I see the same behavior on xgmii_rx_data: DCh/50h as Idle command is transferred by 8 [7:0] lowest bits, by lane 0 only
But I see some activity on xgmii_rx_data on next 8 bits [16:9]: 95h/04h. In the same time on xgmii_rx_control 1 is present on 0 lane only. From this I can make assumption than these bytes are control bytes. But their values are not understandable.
About this not expected behavior on xgmii bus was may question.
I sent FBh/55h 6 times/D5h before starting packet transfer.
Best regards, Dmitry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dimistry,
I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread.
Best regards,
zying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Zying,
Q1. My question was: I see ingoing packets (LLDP) on RX on 1G/10Gbe and 10GBASE-KR PHY IP.
I see them on XGMII_RX_DATA[7:0] although I would have expected them on gmii_rx_data since the speed 1Gb is set.
Your answer: Received data may be seen on XGMII port, but it should be ignored while in 1GbE mode
If I will ignore the data on the XGMII port and I will not get any data on GMII port I will be in situation when I can't use 1G/10Gbe and 10GBASE-KR PHY Core IP. I don't understand how I can use your answer, sorry.
Q3. I am ready to use GMII interface, but I don't understand how to follow your recommendation, if the IP CORE itself uses XGMII in not documented mode. Could you provide more concrete recommendation what I need to change in CORE configuration to use GMII interface, please?
Best regards, Dmitry.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page