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

git: rl: Switch from device_polling to ifpoll


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Nov 2012 04:09:04 -0800 (PST)

commit 5d6e5b92daa66205db685e74b8a91b1aedc61f59
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Nov 5 21:31:43 2012 +0800

    rl: Switch from device_polling to ifpoll
    
    Optimize the RX path a little bit by reading the RL_CURRXADDR and
    RL_CURRXBUF only if necessary; reading these two registers is quite
    time consuming

Summary of changes:
 sys/dev/netif/mii_layer/rlphy.c |    1 +
 sys/dev/netif/rl/Makefile       |    6 +-
 sys/dev/netif/rl/if_rl.c        |  151 ++++++++++++++++++++++++---------------
 sys/dev/netif/rl/if_rlreg.h     |    3 +-
 4 files changed, 98 insertions(+), 63 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d6e5b92daa66205db685e74b8a91b1aedc61f59


-- 
DragonFly BSD source repository



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