Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_input.c
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | #ifdef RSS | ||||
.nh_policy = NETISR_POLICY_CPU, | .nh_policy = NETISR_POLICY_CPU, | ||||
.nh_dispatch = NETISR_DISPATCH_HYBRID, | .nh_dispatch = NETISR_DISPATCH_HYBRID, | ||||
#else | #else | ||||
.nh_policy = NETISR_POLICY_FLOW, | .nh_policy = NETISR_POLICY_FLOW, | ||||
#endif | #endif | ||||
}; | }; | ||||
#ifdef RSS | #ifdef RSS | ||||
/* | |||||
* Directly dispatched frames are currently assumed | |||||
* to have a flowid already calculated. | |||||
* | |||||
* It should likely have something that assert it | |||||
* actually has valid flow details. | |||||
*/ | |||||
static struct netisr_handler ip_direct_nh = { | static struct netisr_handler ip_direct_nh = { | ||||
.nh_name = "ip_direct", | .nh_name = "ip_direct", | ||||
.nh_handler = ip_direct_input, | .nh_handler = ip_direct_input, | ||||
.nh_proto = NETISR_IP_DIRECT, | .nh_proto = NETISR_IP_DIRECT, | ||||
.nh_m2cpuid = rss_soft_m2cpuid_v4, | .nh_m2cpuid = rss_soft_m2cpuid_v4, | ||||
.nh_policy = NETISR_POLICY_CPU, | .nh_policy = NETISR_POLICY_CPU, | ||||
.nh_dispatch = NETISR_DISPATCH_HYBRID, | .nh_dispatch = NETISR_DISPATCH_HYBRID, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,169 Lines • Show Last 20 Lines |