Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152851508
D54534.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
899 B
Referenced Files
None
Subscribers
None
D54534.id.diff
View Options
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -35,7 +35,6 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"
-#include "opt_rss.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -882,7 +881,6 @@
if (sc->sc_flowtype != M_HASHTYPE_NONE) {
inp->inp_flowid = sc->sc_flowid;
inp->inp_flowtype = sc->sc_flowtype;
-#ifdef RSS
} else {
/* assign flowid by software RSS hash */
#ifdef INET6
@@ -897,6 +895,7 @@
} else
#endif /* INET6 */
{
+#ifdef INET
rss_proto_software_hash_v4(inp->inp_faddr,
inp->inp_laddr,
inp->inp_fport,
@@ -904,8 +903,8 @@
IPPROTO_TCP,
&inp->inp_flowid,
&inp->inp_flowtype);
+#endif /* INET */
}
-#endif /* RSS */
}
#ifdef NUMA
inp->inp_numa_domain = sc->sc_numa_domain;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 12:31 PM (7 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31719411
Default Alt Text
D54534.id.diff (899 B)
Attached To
Mode
D54534: tcp: Unifidef use of rss software hash in syncache
Attached
Detach File
Event Timeline
Log In to Comment