SoftRoCE / rxe-dev

Development Repository for RXE
Other
128 stars 55 forks source link

ibstatus reports incorrect link rate when 1000BASE-T is used #52

Open sbates130272 opened 7 years ago

sbates130272 commented 7 years ago

Hi

I am having lots of fun testing Soft-RoCE on my VM. I am running v4.8-rc5 and aside from a few trips along the way things seem to be going quite well. I do notice that the speed reported by ibstatus is not correct for a 10/100/100BASE-T NIC operating in 1000BASE-T mode:

root@donard-qemu:~/librxe-dev# ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: umbg Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes

root@donard-qemu:~/librxe-dev# ibstatus Infiniband device 'rxe0' port 1 status: default gid: fe80:0000:0000:0000:5054:00ff:fe12:3456 base lid: 0x0 sm lid: 0x0 state: 4: ACTIVE phys state: 5: LinkUp rate: 2.5 Gb/sec (1X) link_layer: Ethernet

root@donard-qemu:~/librxe-dev# rxe_cfg status Name Link Driver Speed NMTU IPv4_addr RDEV RMTU eth0 yes e1000 1500 10.0.2.15 rxe0 1024 (3)

Cheers

Stephen