Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2015 20:20:49 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287524 - head/sys/netinet
Message-ID:  <201509062020.t86KKnob026516@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Sep  6 20:20:48 2015
New Revision: 287524
URL: https://svnweb.freebsd.org/changeset/base/287524

Log:
  Replace rss_m2cpuid with rss_soft_m2cpuid_v4 for ip_direct_nh.nh_m2cpuid,
  because the RSS hash may need to be recalculated.
  
  Submitted by:	Tiwei Bie <btw@mail.ustc.edu.cn>
  Differential Revision:	https://reviews.freebsd.org/D3564

Modified:
  head/sys/netinet/ip_input.c

Modified: head/sys/netinet/ip_input.c
==============================================================================
--- head/sys/netinet/ip_input.c	Sun Sep  6 20:17:14 2015	(r287523)
+++ head/sys/netinet/ip_input.c	Sun Sep  6 20:20:48 2015	(r287524)
@@ -160,7 +160,7 @@ static struct netisr_handler ip_direct_n
 	.nh_name = "ip_direct",
 	.nh_handler = ip_direct_input,
 	.nh_proto = NETISR_IP_DIRECT,
-	.nh_m2cpuid = rss_m2cpuid,
+	.nh_m2cpuid = rss_soft_m2cpuid_v4,
 	.nh_policy = NETISR_POLICY_CPU,
 	.nh_dispatch = NETISR_DISPATCH_HYBRID,
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509062020.t86KKnob026516>