git: rl: Switch from device_polling to ifpoll

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 6 04:09:04 PST 2012


commit 5d6e5b92daa66205db685e74b8a91b1aedc61f59
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list