Page MenuHomeFreeBSD

D3504.diff
No OneTemporary

D3504.diff

Index: head/sys/netinet/in_rss.h
===================================================================
--- head/sys/netinet/in_rss.h
+++ head/sys/netinet/in_rss.h
@@ -51,7 +51,7 @@
struct in_addr dst, u_short src_port, u_short dst_port,
int proto, uint32_t *hashval,
uint32_t *hashtype);
-struct mbuf * rss_soft_m2cpuid(struct mbuf *m, uintptr_t source,
+struct mbuf * rss_soft_m2cpuid_v4(struct mbuf *m, uintptr_t source,
u_int *cpuid);
#endif /* !_NETINET_IN_RSS_H_ */
Index: head/sys/netinet/in_rss.c
===================================================================
--- head/sys/netinet/in_rss.c
+++ head/sys/netinet/in_rss.c
@@ -332,7 +332,7 @@
* XXX TODO: definitely want statistics here!
*/
struct mbuf *
-rss_soft_m2cpuid(struct mbuf *m, uintptr_t source, u_int *cpuid)
+rss_soft_m2cpuid_v4(struct mbuf *m, uintptr_t source, u_int *cpuid)
{
uint32_t hash_val, hash_type;
int ret;
Index: head/sys/netinet/ip_input.c
===================================================================
--- head/sys/netinet/ip_input.c
+++ head/sys/netinet/ip_input.c
@@ -140,7 +140,7 @@
.nh_handler = ip_input,
.nh_proto = NETISR_IP,
#ifdef RSS
- .nh_m2cpuid = rss_soft_m2cpuid,
+ .nh_m2cpuid = rss_soft_m2cpuid_v4,
.nh_policy = NETISR_POLICY_CPU,
.nh_dispatch = NETISR_DISPATCH_HYBRID,
#else

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 13, 3:35 AM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28673242
Default Alt Text
D3504.diff (1 KB)

Event Timeline