svn commit: r287524 - head/sys/netinet
Adrian Chadd
adrian at FreeBSD.org
Sun Sep 6 20:20:49 UTC 2015
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 at 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,
};
More information about the svn-src-all
mailing list