DragonFly-2.3.0.438.gb73d41 master sys/net toeplitz.c toeplitz2.h sys/netinet ip_demux.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Mar 21 18:25:28 PDT 2009


commit b73d4152a14e6ef0be4bc94bd35ec819cee6bb1b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Mar 21 12:19:27 2009 +0800

    toeplitz: Hash function renaming
    
    toeplitz_hash     -> toeplitz_rawhash_addr
    toeplitz_hash_tcp -> toeplitz_rawhash_addrport
    
    Add toeplitz_hash() which mask the raw Toeplitz hash value with
    ncpus2_mask.  This function will be used by device drivers too.

Summary of changes:
 sys/net/toeplitz.c     |    4 ++--
 sys/net/toeplitz2.h    |   16 +++++++++++++---
 sys/netinet/ip_demux.c |    5 +++--
 3 files changed, 18 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b73d4152a14e6ef0be4bc94bd35ec819cee6bb1b


-- 
DragonFly BSD source repository





More information about the Commits mailing list