LS1046A XGMII@MAC10 10G SFP network port rate problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1046A XGMII@MAC10 10G SFP network port rate problem

819 Views
hongyuanz
Contributor IV

The rate is only 1G, Should be 10G , What could be the reason

ls1046A Speed: 1000Mb/s
root@localhost:~# ethtool fm1-mac10
Settings for fm1-mac10:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
root@localhost:~#

Server Speed: 10000Mb/s

root@test:~# ethtool enp1s0f1
Settings for enp1s0f1:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: internal
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
root@test:~#

 


root@localhost:~# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=0.250 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=0.213 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=0.182 ms
64 bytes from 192.168.1.254: icmp_seq=4 ttl=64 time=0.204 ms
64 bytes from 192.168.1.254: icmp_seq=5 ttl=64 time=0.213 ms
64 bytes from 192.168.1.254: icmp_seq=6 ttl=64 time=0.217 ms
64 bytes from 192.168.1.254: icmp_seq=7 ttl=64 time=0.199 ms
64 bytes from 192.168.1.254: icmp_seq=8 ttl=64 time=0.206 ms
64 bytes from 192.168.1.254: icmp_seq=9 ttl=64 time=0.213 ms

 

 

 

0 Kudos
Reply
2 Replies

790 Views
hongyuanz
Contributor IV

hi yipingwang

Thank you very much for your support, now successful

root@localhost:/opt/dpdk# ethtool fm1-mac10
Settings for fm1-mac10:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
root@localhost:/opt/dpdk#

0 Kudos
Reply

805 Views
yipingwang
NXP TechSupport
NXP TechSupport

In your dts file, 

ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
};

Modify to:

ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 10000 0 0>;
phy-connection-type = "xgmii";
};

 

Please refer to the following definition for fixed-link.

items:
- minimum: 0
maximum: 31
description:
Emulated PHY ID, choose any but unique to the all
specified fixed-links

- enum: [0, 1]
description:
Duplex configuration. 0 for half duplex or 1 for
full duplex

- enum: [10, 100, 1000]
description:
Link speed in Mbits/sec.

- enum: [0, 1]
description:
Pause configuration. 0 for no pause, 1 for pause

- enum: [0, 1]
description:
Asymmetric pause configuration. 0 for no asymmetric

0 Kudos
Reply