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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 4 05:40:53 PST 2009


commit 70172a73a90d1d12157a7ee99350275a68a4f57d
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list