git: pktgen: Use atomic for pktgen and module reference count

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Feb 2 00:27:38 PST 2013


commit 4c9906cbbdd8f6b74b9cbd2c163f84cc14d4f49c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Feb 2 16:23:57 2013 +0800

    pktgen: Use atomic for pktgen and module reference count
    
    Module's token is no longer needed in many places.  Ease the upcoming
    changes to support multiple hardware TX queues.

Summary of changes:
 tools/tools/netrate/pktgen/pktgen.c | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4c9906cbbdd8f6b74b9cbd2c163f84cc14d4f49c


-- 
DragonFly BSD source repository



More information about the Commits mailing list