Beta BroadCom 4401 driver

"Duncan Barclay" <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <000b01c340f6$116f38a0$4bc8a8c0@orac>
Hello all that are interested

Please try this version of the driver.

http://people.freebsd.org/~dmlb/bcm-0307030043.tar.gz

Improvements:
    - All TX buffers used, and most RX buffers used. I'd like people to play
with changing
      BCM_RX_LIST_CNT near to top of if_bcmreg.h. Maximum is 511 or maybe
512 depending whether
      I've got all the off by one errors out...

    - RX now DMAs directly into mbufs (faster and a lot more robust)

    - LOR on unload gone

    - Doesn't hang the machine with ftp of large files (I hope)

Outstanding:
    - The device stats aren't read

    - I don't know what to add into some of the timer and media routines, if
anyone can suggest what's needed then I would be grateful.

    - CRC offloading

    - RX packet coallesing

For those that can, I would really appreciate some feedback from stress
tests on 100Mb/s networks. Up until now I've only tested on 10MB/s ether to
a Libretto with a Pentium 75. I can happily max out this link.

I'm going to re-do the header file and dependent code so it doesn't use a
verbatim extracts of the Linux driver and then commit it.


All the best

Duncan

----- Original Message ----- 
From: "Duncan Barclay" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Sunday, June 29, 2003 7:54 PM
Subject: Very alpha BroadCom 4401 driver


> Hello all
>
> For those of you who have a Broadcom 4401 10/100 Ethernet (not gigabit)
can
> you please try the driver at
> http://people.freebsd.org/~dmlb/bcm-0306291936.tar.gz. Untar it, and you
> should have sys/dev/bcm/* and
> sys/modules/bcm/Makefile. Put these into /sys then
>     cd /sys/modules/bcm
>     make
>     make test
> then use the interface.
>
> If you encounter wierdness, please reboot with -v, and reload the module
and
> recreate the wierdness. Then send me the dmesg output.
>
> The driver is sub-optimal:
>     - only a small % of the TX and RX buffers are used. This can be
changed
> in if_bcmreg.h.
>     - RX DMAs into fixed buffers and then these are copied to mbufs.
>     - the device stats aren't read
>     - I don't know what to add into some of the timer and media routines,
if
> anyone can suggest what's
> needed then I would be grateful.
>     - LOR on unload.
>
> I will be trying to fix these over the next couple of days.
>
> I will be on holiday 5th July to 13th July, so please forgive any delay in
> replying to problems.
>
> Enjoy
>
> Duncan
>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.