Date: Wed, 14 Jan 2009 01:35:08 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r187206 - user/kmacy/HEAD_fast_net/sys/netinet Message-ID: <200901140135.n0E1Z8ST022052@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Wed Jan 14 01:35:08 2009 New Revision: 187206 URL: http://svn.freebsd.org/changeset/base/187206 Log: - include opt_mpath.h so that RADIX_MPATH will be pulled in - remove locking overhead to forwarding workloads by making forwarding table pcpu Modified: user/kmacy/HEAD_fast_net/sys/netinet/ip_input.c Modified: user/kmacy/HEAD_fast_net/sys/netinet/ip_input.c ============================================================================== --- user/kmacy/HEAD_fast_net/sys/netinet/ip_input.c Tue Jan 13 23:57:15 2009 (r187205) +++ user/kmacy/HEAD_fast_net/sys/netinet/ip_input.c Wed Jan 14 01:35:08 2009 (r187206) @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ipsec.h" #include "opt_mac.h" #include "opt_carp.h" +#include "opt_mpath.h" #include <sys/param.h> #include <sys/systm.h> @@ -339,7 +340,7 @@ ip_init(void) netisr_register(NETISR_IP, ip_input, &ipintrq, 0); ipv4_ft = flowtable_alloc(ip_pcpu_flowtable_size, FL_PCPU); - ipv4_forward_ft = flowtable_alloc(ip_global_flowtable_size, FL_HASH_PORTS); + ipv4_forward_ft = flowtable_alloc(ip_global_flowtable_size, FL_HASH_PORTS|FL_PCPU); } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901140135.n0E1Z8ST022052>