DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: alc: Stablize this driver and fix various porting overlooks


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Aug 2012 20:24:09 -0700 (PDT)

commit a0e18bfd77e762327b379dcd37bf9b545c792950
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Aug 6 20:15:15 2012 +0800

    alc: Stablize this driver and fix various porting overlooks
    
    - Use ifnet serializer to protect driver data.  This should fix the
      various panics that were observed on the network output path.
    - Fix busdma setup.
    - Always allocate the descriptor rings and status blocks at the lower
      4GB.  The original way will require the RX/TX bufs to be located at
      the lower 4GB, which is a great waste of bounce buffers, cpu cycles
      and memory bandwidth.
    - Don't mess up M_PKTHDR on RX path.
    - Allocate mbuf w/ MB_WAIT on initialization path.
    - Enable MSI by default.

Summary of changes:
 sys/dev/netif/alc/if_alc.c    |  664 ++++++++++++-----------------------------
 sys/dev/netif/alc/if_alcvar.h |   56 +---
 2 files changed, 211 insertions(+), 509 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0e18bfd77e762327b379dcd37bf9b545c792950


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]