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

DragonFly-2.3.0.354.g70172 master sys/dev/netif/emx if_emx.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 4 Mar 2009 05:38:55 -0800 (PST)

commit 70172a73a90d1d12157a7ee99350275a68a4f57d
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Mar 4 21:31:32 2009 +0800

    emx(4): Compact transmit path a little bit
    
    - emx_buf.m_head is only set/cleared in the last emx_buf associated with
      the packet, so we don't need to keep clearing it in transmit descriptor
      setup loop.
    - Used transmit descriptors do not need to be cleared in txeof and tx_collect

Summary of changes:
 sys/dev/netif/emx/if_emx.c |   21 +++------------------
 1 files changed, 3 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70172a73a90d1d12157a7ee99350275a68a4f57d


-- 
DragonFly BSD source repository



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