if_bge with <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> (was: Re: Strange things on GBit / 1000->100 / net.inet.tcp.inflight.* )

From: Raphael H. Becker <rabe_at_p-i-n.com>
Date: Tue, 28 Sep 2004 23:28:41 +0200
On Sat, Sep 18, 2004 at 01:16:44AM +0200, Raphael H. Becker wrote:
> On Sat, Sep 18, 2004 at 12:16:20AM +0200, Andre Oppermann wrote:
> > Would you mind trying a 5.3 to 5.3 transfer but the target 5.3 box forced to
> > only 100Mbit full-duplex?  Same statistics again.
> 
> Sorry, ifconfig is not possible now. See PM.
> I may retest with physical access (without ssh) next days, if needed.

Today I had some time for testing AND physical access ... 

With bge0 bound to 100baseTX / full-duplex the transfer breaks down to
<100kBytes/sec, with 1000byseTX its about 250-350kBytes/sec, should be
~10MBytes/sec

ifconfig bge0 down
ifconfig bge0 media ... 
ifconfig bge0 up 

I will do some more and detailed testing next time I'm in our data
center, including the netstat-output etc.

Hmm. if_bge buggy? 
But, same machine on a FE-Switich worked perfectly (with 100MBit).

By default ifconfig says:

bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 10.101.240.56 netmask 0xffffff00 broadcast 10.101.240.255
        inet6 fe80::20d:56ff:febb:9c27%bge0 prefixlen 64 scopeid 0x1 
        ether 00:0d:56:bb:9c:27
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active

from dmesg:

FreeBSD 5.3-BETA6 #2: Mon Sep 27 10:40:24 CEST 2004
    root_at_pinserv6.p-i-n.com:/usr/obj/usr/src/sys/PE2650 <-- PE2650 is a
      copy of GENERIC this time.
[...]
acpi0: <DELL PE2650> on motherboard
[...]
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
bge0: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfcf10000-0xfcf1ffff irq 28 at device 6.0 on pci3
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:0d:56:bb:9c:27
bge1: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfcf00000-0xfcf0ffff irq 29 at device 8.0 on pci3
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:0d:56:bb:9c:28


Any idea?

Regards
Raphael Becker
Received on Tue Sep 28 2004 - 19:28:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC