git: bwn: fixing performance problems and an RX buffer overflow problem

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Apr 5 10:45:53 PDT 2014


commit b7a8b6abd2cfa6cd927aefa770aff3030ffce28c
Author: Imre Vadasz <imre at vdsz.com>
Date:   Thu Apr 3 14:16:48 2014 +0200

    bwn: fixing performance problems and an RX buffer overflow problem
    
    * Commenting a bwn_shm_write_2 call that destroys performance especially
      when sending.  This call is also commented in Linux's b43 driver.
    
    * Handling Overflows of the RX buffer in bwn by just dropping all entries.
      With 256 slots in the RX buffer this overflow will almost never happen in
      practice.

Summary of changes:
 sys/dev/netif/bwn/bwn/if_bwn.c    | 56 +++++++++++++++++++++++++--------------
 sys/dev/netif/bwn/bwn/if_bwnvar.h |  2 +-
 2 files changed, 37 insertions(+), 21 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list