Re: Call for bfe(4) testers.

From: Gleb Kurtsou <gleb.kurtsou_at_gmail.com>
Date: Wed, 30 Jul 2008 22:35:18 +0300
On (30/07/2008 20:34), Pyun YongHyeon wrote:
> 
> Hi,
> 
> I have been using the following patched bfe(4) and it seems it
> works as expected. I've fixed long standing bus_dma(9) bugs in it
> and it should work on systems with > 1GB memory. In theory bfe(4)
> should also work on big-endian architectures. However the 1GB DMA
> address space of the hardware is much lower than that of DVMA base
> address of sparc64 so the possibility of using bfe(4) on sparc64 is
> zero. :-(
> 
> As added bonus of patched driver, bfe(4) now supports hardware
> statistics counter. You can use sysctl(8) to see what counters are
> maintained in the hardware. For example, the following command will
> show detailed statistics for Tx/Rx frames.
> #sysctl dev.bfe.0.stats=1
> 
> If you have one of bfe(4) hardwares please give it try and let me
> know how it goes. The latest bfe(4) can be found at the following
> URL.
> http://people.freebsd.org/~yongari/bfe/if_bfe.c
> http://people.freebsd.org/~yongari/bfe/if_bfereg.h

Just works for me. Though no stress testing or serious load here.

% sysctl dev.bfe.                     
dev.bfe.0.%desc: Broadcom BCM4401-B0 Fast Ethernet
dev.bfe.0.%driver: bfe
dev.bfe.0.%location: slot=0 function=0
dev.bfe.0.%pnpinfo: vendor=0x14e4 device=0x170c subvendor=0x1028 subdevice=0x01d4 class=0x020000
dev.bfe.0.%parent: pci2
dev.bfe.0.stats: -1

bfe0 statistics:
Transmit good octets : 11375965
Transmit good frames : 111163
Transmit octets : 11375965
Transmit frames : 111163
Transmit broadcast frames : 3
Transmit multicast frames : 60
Transmit frames 64 bytes : 562
Transmit frames 65 to 127 bytes : 104361
Transmit frames 128 to 255 bytes : 345
Transmit frames 256 to 511 bytes : 1517
Transmit frames 512 to 1023 bytes : 4072
Transmit frames 1024 to max bytes : 306
Transmit jabber errors : 0
Transmit oversized frames : 0
Transmit fragmented frames : 0
Transmit underruns : 0
Transmit total collisions : 0
Transmit deferrals : 0
Transmit carrier losts : 0
Transmit pause frames : 0
Receive good octets : 201279272
Receive good frames : 160395
Receive octets : 201279336
Receive frames : 160396
Receive broadcast frames : 8910
Receive multicast frames : 2311
Receive frames 64 bytes : 4780
Receive frames 65 to 127 bytes : 14888
Receive frames 128 to 255 bytes : 3249
Receive frames 256 to 511 bytes : 4898
Receive frames 512 to 1023 bytes : 3753
Receive frames 1024 to max bytes : 128828
Receive jabber errors : 0
Receive oversized frames : 0
Receive fragmented frames : 0
Receive missed frames : 0
Receive CRC align errors : 0
Receive undersized frames : 0
Receive CRC errors : 0
Receive align errors : 0
Receive symbol errors : 1
Receive pause frames : 0
Receive control frames : 0
Received on Wed Jul 30 2008 - 18:02:45 UTC

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