Not able to change Port speed using ethtool on LS-1088ARDB-PB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Not able to change Port speed using ethtool on LS-1088ARDB-PB

跳至解决方案
4,307 次查看
ashutoshharry
Contributor III

Hi @yipingwang 

 

i am not able to change port speed as its 10G interface and want to change it to 1G for traffic testing.

 

any clues will be helpful

 

logs and command below:

--------------------------------------

root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
root@OpenWrt:~# ethtool -s eth1 speed 1000 duplex full
root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
root@OpenWrt:~# ethtool -s eth1 speed 1000
Cannot advertise speed 1000
root@OpenWrt:~# dmesg -n 8
root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
root@OpenWrt:~#

 

 

标记 (1)
0 项奖励
回复
1 解答
4,272 次查看
yipingwang
NXP TechSupport
NXP TechSupport

This operation is not supported in LSDK or OpenWrt.

在原帖中查看解决方案

4 回复数
4,283 次查看
ashutoshharry
Contributor III

root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
root@OpenWrt:~# ethtool -s eth1 speed 1000 duplex full autoneg off
root@OpenWrt:~#
root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes

0 项奖励
回复
4,273 次查看
yipingwang
NXP TechSupport
NXP TechSupport

This operation is not supported in LSDK or OpenWrt.

4,285 次查看
ashutoshharry
Contributor III

root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
root@OpenWrt:~# ethtool -s eth1 speed 1000 duplex full autoneg off
root@OpenWrt:~#
root@OpenWrt:~# ethtool eth1
Settings for eth1:
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: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes

 

same result 

0 项奖励
回复
4,291 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Do you use dpmac.1 or dpmac.2?

dpmac.1 is optical port, it cannot be switched to 1G mode.

dpmac.2 is copper port, you could try the following command.

ethtool -s eth1 speed 1000 duplex full autoneg off

0 项奖励
回复