cvs commit: src/sys/netinet ip_flow.c ip_input.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Apr 3 06:44:55 PDT 2008


sephe       2008/04/03 06:43:29 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_flow.c ip_input.c 
  Log:
  Parallelize ip_flow:
  - Create per-CPU ipflow hash table.  During initial ipflow installation, route
    entry to the destination is allocated on each CPU and cached in the ipflow,
    so each CPU will only access the route entry owned by itself.
  - Timeout processing on per-CPU ipflow hash table is initialized by broadcasting
    IPI to each CPU.  In IPI, a per-CPU netmsg is used to inform CPU local netisr
    to do the real timout processing.
  - Add sysctl node to show how many ipflow entries are used on the each CPU.
  
  Revision  Changes    Path
  1.12      +153 -23   src/sys/netinet/ip_flow.c
  1.78      +1 -1      src/sys/netinet/ip_input.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_flow.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.77&r2=1.78&f=u





More information about the Commits mailing list