git: mxge: Nuke the flag field in mxge_tx_buffer_state

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Sep 25 01:00:08 PDT 2013


commit 48d12a0b2ff517d5596beacd2098f0577661bdb3
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Sep 25 13:57:44 2013 +0800

    mxge: Nuke the flag field in mxge_tx_buffer_state
    
    Instead of using flag to mark the end of the TX packet chain, we now
    save mbuf in the last tx_buffer_state and use the mbuf pointer to mark
    the end of the TX packet.

Summary of changes:
 sys/dev/netif/mxge/if_mxge.c     | 37 +++++++++++++++++++++++++------------
 sys/dev/netif/mxge/if_mxge_var.h |  1 -
 2 files changed, 25 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/48d12a0b2ff517d5596beacd2098f0577661bdb3


-- 
DragonFly BSD source repository


More information about the Commits mailing list