summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp/tcp6ddi.c
diff options
context:
space:
mode:
authormasputra <none@none>2005-10-22 22:50:14 -0700
committermasputra <none@none>2005-10-22 22:50:14 -0700
commitff550d0e264b51131fb34e9e83163b348d916640 (patch)
tree5cfa61832db382b34b7090acd22cfed2bed7cf82 /usr/src/uts/common/inet/tcp/tcp6ddi.c
parentd56104979b99dfd4b6bb1294d1c318fbd990903a (diff)
downloadillumos-joyent-ff550d0e264b51131fb34e9e83163b348d916640.tar.gz
PSARC 2005/082 Yosemite: UDP Performance Enhancement
4796051 Solaris needs a more complete HW checksumming support 4905227 duplicate macros in ipclassifier.h and ip.h 4915681 need hardware checksum offload for the case of IP/UDP reassembly 6201076 outbound flow-control dysfunctional, ip to ce using mdt 6223331 ipv6 flow control may corrupt UDP packets 6223809 16-bit aligned IP header should be allowed for all x86 platforms 6275398 Galaxy hangs when running lmbench 6281836 Yosemite project integration into Solaris 6281885 xge needs to support IPv6 checksum offload 6282776 IPv6 NCE fast path is not created for incoming solicitation 6304890 IP transmit-side checksum logic needs to be tightened 6304902 IP6_IN_NOCKSUM is obsolete and should be torched 6304904 UDP should reject TI_GETPEERNAME for non-connected endpoint 6306768 IP and UDP device and module definitions need to be centralized
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp6ddi.c')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp6ddi.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp6ddi.c b/usr/src/uts/common/inet/tcp/tcp6ddi.c
index c055414f0a..3ccef00029 100644
--- a/usr/src/uts/common/inet/tcp/tcp6ddi.c
+++ b/usr/src/uts/common/inet/tcp/tcp6ddi.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -37,7 +37,13 @@
#define INET_DEVDESC "TCP6 STREAMS driver %I%"
#define INET_MODDESC "TCP6 STREAMS module %I%"
#define INET_DEVMINOR TCP_MINOR6
-#define INET_DEVMTFLAGS D_MP
+/*
+ * Note that unlike UDP, TCP uses synchronous STREAMS only
+ * for TCP Fusion (loopback); this is why we don't define
+ * D_SYNCSTR here. Since TCP as a module is used only for
+ * SNMP purposes, we define _D_DIRECT for device instance.
+ */
+#define INET_DEVMTFLAGS (D_MP|_D_DIRECT)
#define INET_MODMTFLAGS D_MP
#include "../inetddi.c"