DragonFly-2.3.0.166.g32aca master sys/dev/netif/sk if_sk.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Feb 17 03:33:45 PST 2009


commit 32aca3fca6d6e534611a76e9e30cc8914092d37c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Jan 24 14:33:42 2009 +0800

    sk(4): Adjust RX path a little bit
    
    - Utilize bus_dmamap_load_mbuf_segment()
    - Don't try m_devget(); it does not help much, if the NIC is quenched
      by the peer, e.g. by line rate fragmented UDP datagrams
    - Move bus_dmamap_sync() from sk_rxeof() into sk_newbuf_std()

Summary of changes:
 sys/dev/netif/sk/if_sk.c |   51 +++++++++++++--------------------------------
 1 files changed, 15 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32aca3fca6d6e534611a76e9e30cc8914092d37c


-- 
DragonFly BSD source repository





More information about the Commits mailing list