||This article's use of external links may not follow Wikipedia's policies or guidelines. (December 2014)|
|This article relies too much on references to primary sources. (December 2014)|
iWARP (internet Wide Area RDMA Protocol) is a computer networking protocol that implements Remote Direct Memory Access for efficient data transfer over Internet Protocol networks. iWARP stands for Internet Wide Area RDMA Protocol. 
Because iWARP is layered on IETF-standard congestion aware protocols such as TCP and SCTP, it makes few requirements on the network, and can be successfully deployed in a broad range of environments.
In 2007, the Internet Engineering Task Force (IETF) published five RFCs that define iWARP:
- RFC 5040 A Remote Direct Memory Access Protocol Specification is layered over Direct Data Placement Protocol (DDP). It defines how RDMA Send, Read, and Write operations are encoded using DDP into headers on the network.
- RFC 5041 Direct Data Placement over Reliable Transports is layered over MPA/TCP or SCTP. It defines how received data can be directly placed into an upper layer protocol's receive buffer without intermediate buffers.
- RFC 5043 Stream Control Transmission Protocol (SCTP) Direct Data Placement (DDP) Adaptation defines an adaptation layer that enables DDP over SCTP.
- RFC 5044 Marker PDU Aligned Framing for TCP Specification defines an adaptation layer that enables preservation of DDP-level protocol record boundaries layered over the TCP reliable connected byte stream.
- RFC 5042 Direct Data Placement Protocol (DDP) / Remote Direct Memory Access Protocol (RDMAP) Security analyzes security issues related to iWARP DDP and RDMAP protocol layers.
These RFCs are based on the RDMA Consortium's specifications for RDMA over Transmission Control Protocol (TCP). The RDMA Consortium's specifications are influenced by earlier RDMA standards, including Virtual Interface Architecture (VIA) and InfiniBand.
Since 2007, the IETF has published three additional RFCs that maintain and extend iWARP:
- RFC 6580 IANA Registries for the Remote Direct Data Placement (RDDP) Protocols published in 2012 defines IANA registries for RDDP error codes, operation codes, and function codes.
- RFC 6581 Enhanced Remote Direct Memory Access (RDMA) Connection Establishment published in 2011 fixes shortcomings with iWARP connection setup.
- RFC 7306 Remote Direct Memory Access (RDMA) Protocol Extensions published in 2014 extends RFC 5040 with Atomic Operations and RDMA Write with Immediate Data.
The main component in the iWARP protocol is the Direct Data Placement Protocol (DDP), which permits the actual zero-copy transmission. DDP itself does not perform the transmission; the underlying protocol (TCP or SCTP) does.
However, TCP does not respect message boundaries; it sends data as a sequence of bytes without regard to protocol data units (PDU). In this regard, DDP itself may be better suited for SCTP, and indeed the IETF proposed a standard RDMA over SCTP. To run DDP over TCP requires a tweak known as marker PDU aligned (MPA) framing to guarantee boundaries of messages.
Furthermore, DDP is not intended to be accessed directly. Instead, a separate RDMA protocol (RDMAP) provides the services to read and write data. Therefore, the entire RDMA over TCP specification is really RDMAP over DDP over either MPA/TCP or SCTP. All of these protocols can be implemented in hardware.
Unlike IB, iWARP only has reliable connected communication as this is the only service that TCP and SCTP provide. The iWARP specification omits other features of IB, such as Send with Immediate Data operations. With RFC 7306, the IETF is working to reduce these omissions.
Because a kernel implementation of the TCP stack can be seen as a bottleneck, the protocol is typically implemented in hardware RDMA network interface controllers (rNICs). As simple data losses are rare in tightly coupled network environments, the error-correction mechanisms of TCP may be performed by software while the more frequently performed communications are handled strictly by logic embedded on the rNIC. Similarly, connections are often established entirely by software and then handed off to the hardware. Furthermore, the handling of iWARP specific protocol details is often isolated from the TCP implementation, allowing rNICs to be used for both as RDMA offload and TCP offload (in support of traditional sockets based TCP/IP applications). The portion of the hardware implementation used for implementing the TCP protocol is known as the TCP Offload Engine (TOE).
TOE itself does not prevent copying on the receive side, and must be combined with RDMA hardware for zero-copy results. The RDMA / TCP specification is a set of different wire protocols intended to be implemented in hardware (though it seems feasible to emulate it in software for compatibility but without the performance benefits).
iWARP is a protocol, not an implementation, but defines protocol behavior in terms of the operations that are legal for the protocol, known as Verbs. As such, iWARP does not have any single standard programming interface. However, programming interfaces tend to very closely correspond to the Verbs.
Several programmatic interfaces have been proposed, including OpenFabrics Verbs, Network Direct, uDAPL, kDAPL, IT-API, and RNICPI. Implementations of some of these interfaces are available for different platforms, including Windows and Linux.
Networking services implemented over iWARP include those offered in the OpenFabrics Enterprise Distribution (OFED) by the OpenFabrics Alliance for Linux operating systems, and by Microsoft Windows via Network Direct.
- NFS over RDMA
- Sockets Direct Protocol (SDP)
- iSCSI Extensions for RDMA (iSER)
- SCSI RDMA Protocol (SRP)
- SMB Direct (see Server Message Block)
- OpenFabrics Alliance at the University of New Hampshire InterOperability Laboratory—Testing on iWARP devices
- iWARP 2.0 - First Stab at a Potential Features List, a presentation given by Felix Marti on March 17, 2010 during a meeting of the OpenFabrics Alliance.
- EE Times article (dated 12/07/2001) on iWARP
- Network World article (dated 09/26/05) on iWARP and competing technologies
- Remote Direct Data Placement Charter links to IETF specifications on iWARP
- Intel NetEffect Ethernet Server Cluster Adapters—producers of iWARP equipment
- Chelsio Communications—producers of iWARP equipment
- Lamprey Networks—Producers of iWARP conformance test suite
- iWARP over SCTP -- UBC group's slides from their CAC 2008 paper detailing a design of iWARP over SCTP
- MS-SMBD - SMB Direct protocol specification.