diff options
| author | masputra <none@none> | 2005-10-22 22:50:14 -0700 |
|---|---|---|
| committer | masputra <none@none> | 2005-10-22 22:50:14 -0700 |
| commit | ff550d0e264b51131fb34e9e83163b348d916640 (patch) | |
| tree | 5cfa61832db382b34b7090acd22cfed2bed7cf82 /usr/src/uts/common/inet/udp/udpddi.c | |
| parent | d56104979b99dfd4b6bb1294d1c318fbd990903a (diff) | |
| download | illumos-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/udp/udpddi.c')
| -rw-r--r-- | usr/src/uts/common/inet/udp/udpddi.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr/src/uts/common/inet/udp/udpddi.c b/usr/src/uts/common/inet/udp/udpddi.c index dcff39b3c9..ad5542295e 100644 --- a/usr/src/uts/common/inet/udp/udpddi.c +++ b/usr/src/uts/common/inet/udp/udpddi.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. */ /* Copyright (c) 1990 Mentat Inc. */ @@ -32,20 +32,23 @@ #include <sys/modctl.h> #include <inet/common.h> #include <inet/ip.h> +#include <inet/udp_impl.h> #define INET_NAME "udp" #define INET_MODDESC "UDP STREAMS module %I%" #define INET_DEVDESC "UDP STREAMS driver %I%" #define INET_DEVMINOR IPV4_MINOR #define INET_STRTAB udpinfo -#define INET_DEVMTFLAGS IP_DEVMTFLAGS /* since as a driver we're ip */ -#define INET_MODMTFLAGS (D_MP | D_MTQPAIR | D_MTPUTSHARED | _D_MTOCSHARED) +#define INET_DEVMTFLAGS IP_DEVMTFLAGS +/* + * We define both synchronous STREAMS and sockfs direct-access + * mode for UDP module instance, because it is autopushed on + * top of /dev/ip for the sockets case. + */ +#define INET_MODMTFLAGS (D_MP|D_SYNCSTR|_D_DIRECT) #include "../inetddi.c" -extern void udp_ddi_init(void); -extern void udp_ddi_destroy(void); - int _init(void) { |
