Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144751764
D3504.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3504.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3504: Implement IPv6 RSS software hash functions to use during packet ingress and egress
Attached
Detach File
Event Timeline
Log In to Comment