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
This commit is contained in:
Adrian Chadd 2015-09-06 20:20:48 +00:00
parent 6bfeda9890
commit 499baf0aa7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287524

View File

@ -160,7 +160,7 @@ static struct netisr_handler ip_direct_nh = {
.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,
};