Call for testers : age(4), Attansic/Atheros L1 gigabit ethernet controller

From: Mikle Davidkin <skylord_at_linkline.ru>
Date: Fri, 30 May 2008 17:35:17 +0400 (MSD)
On Thu, 13 Mar 2008 12:43:21 +0900 Pyun YongHyeon wrote:
>  >  > As I said, I already know poor performance issue of age(4) but I'm
>  >  > more interested in getting a stable driver. If you're owner of L1
>  >  > gigabit ethernet controller please give it spin and let me know
>  >  > how it goes on your system.
>  >  >
> For CURRENT:
> http://people.freebsd.org/~yongari/age/age.HEAD.diff
> For RELENG_7/7.0-RELEASE:
> http://people.freebsd.org/~yongari/age/age.7.0R.diff
>  >  > o Patch kernel srouce and rebuild/reboot your kernel.
>  >  >   #cd /usr/src
>  >  >   #patch -p0 < /path/to/age.HEAD.diff
>  >  >
>  >  > Test:
>  >  > Use age(4) for your normal network activities and report success or
>  >  > any issues you've encountered. The driver may be chatty to ease of
>  >  > debugging.

Today I've patched my 7.0-STABLE (csup from 28 may) with your diff,
downloaded fresh file revisions, recompiled kernel and try to use driver
for my on-board network card on ECS A740GM-M... It works like a charm!
Thanks a lot!

dmesg info:
====================
pci0: driver added
found-> vendor=0x1002, dev=0x4385, revid=0x3a
        domain=0, bus=0, slot=20, func=0
        class=0c-05-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0403, statreg=0x0230, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:20:0: reprobing on driver added
pci1: driver added
pci2: driver added
pci3: driver added
found-> vendor=0x1969, dev=0x1048, revid=0xb0
        domain=0, bus=3, slot=0, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0106, statreg=0x4010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=17
        powerspec 2  supports D0 D3  current D0
        MSI supports 1 message, 64 bit
pci0:3:0:0: reprobing on driver added
age0: <Attansic Technology Corp, L1 Gigabit Ethernet> mem
0xfeac0000-0xfeafffff irq 17 at device 0.0 on pci3
age0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xfeac0000
age0: PCI device revision : 0x00b0
age0: Chip id/revision : 0x9006
age0: 1280 Tx FIFO, 2364 Rx FIFO
age0: MSIX count : 0
age0: MSI count : 1
age0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 258 to vector 63
age0: using IRQ 258 for MSI
age0: Using 1 MSI messages.
age0: Read request size : 512 bytes.
age0: TLP payload size : 128 bytes.
miibus2: <MII bus> on age0
atphy0: <Atheros F1 10/100/1000 media interface> PHY 0 on miibus2
atphy0: OUI 0x001374, model 0x0001, rev. 5
atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
age0: bpf attached
age0: Ethernet address: 00:00:90:85:fa:1b
msi: Assigning MSI IRQ 258 to local APIC 0
age0: [MPSAFE]
age0: [FILTER]
pci4: driver added
age0: link state changed to DOWN
age0: link state changed to UP
age0: interrupt moderation is 100 us.
age0: link state changed to DOWN
age0: interrupt moderation is 100 us.
age0: link state changed to UP
====================

pciconf -lv
====================
age0_at_pci0:3:0:0:        class=0x020000 card=0x10481019 chip=0x10481969
rev=0xb0 hdr=0x00
    vendor     = 'Attansic (Now owned by Atheros)'
    device     = 'L1 Gigabit Ethernet 10/100/1000Base-T Ethernet Controller'
    class      = network
    subclass   = ethernet
====================

ifconfig age0
====================
age0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC>
        ether 00:00:90:85:fa:1b
        inet 10.72.0.104 netmask 0xffffc000 broadcast 10.72.63.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
====================


BTW, at first look driver performance is not so poor as could be expected
after your words. I get over 200-300Mbit/s FTP download rate from my other
gigabit box - it's usual speed in this enviroment with other NICs too...
I'll do more tests, sure...
Anyways - thanks a lot for this driver!
Received on Fri May 30 2008 - 11:59:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC