Pipelined processing of RDMA-type network transactions
First Claim
1. An apparatus comprising:
- a remote direct memory access (RDMA) adapter to be comprised in a server and to be coupled in the server to a plurality of host processors and to a host memory via a host interface, one of the host processors to initiate an RDMA transaction to be implemented by the adapter, the adapter to be coupled via physical interfaces to a network, the adapter including an offload engine, a local adapter memory interface, and protocol modules associated with respective protocols, one of the protocol modules to implement iWARP RDMA protocol layers and RDMA direct data placement, another of the protocol modules being an iSCSI protocol module to provide hardware acceleration to iSCSI protocol processing, the adapter to selectively permit data received from the host processors and the network to be provided to the protocol modules and the offload engine, the adapter to be programmed in support of an RDMA memory transaction requested by an RDMA transaction request from an application, a first pipeline portion of the adapter to enqueue a pending memory registration operation to register a memory region specified by the RDMA memory transaction, a second pipeline portion of the adapter to enqueue a work request specifying access to the memory region, processing of the work request to proceed as if the pending memory registration operation has already been completed unless the adapter is notified to stall completion of the work request until after memory registration operation processing is complete, the host memory including a plurality of memory regions, the adapter including a control operation portion having the first pipeline portion, a work request portion having the second pipeline portion, and a memory region table, a program being to queue a control operation of the RDMA transaction request in the first pipeline portion and to set a pending notification in the memory region table associated with the control operation and a relevant memory region of the plurality of memory regions, the program also being to queue the work request of the RDMA transaction request in the second pipeline portion, the control operation portion being to reset the pending notification as a result of completion of the control operation, and the work request portion being to delay processing of the work request if the pending notification is set and to complete processing of the work request if the pending notification is reset.
5 Assignments
0 Petitions
Accused Products
Abstract
A computer system such as a server pipelines RNIC interface (RI) management/control operations such as memory registration operations to hide from network applications the latency in performing RDMA work requests caused in part by delays in processing the memory registration operations and the time required to execute the registration operations themselves. A separate QP-like structure, called a control QP (CQP), interfaces with a control processor (CP) to form a control path pipeline, separate from the transaction pipeline, which is designated to handle all control path traffic associated with the processing of RI control operations. This includes memory registration operations (MR OPs), as well as the creation and destruction of traditional QPs for processing RDMA transactions. Once the MR OP has been queued in the control path pipeline of the adapter, a pending bit is set which is associated with the MR OP. Processing of an RDMA work request in the transaction pipeline that has engendered the enqueued MR OP is permitted to proceed as if the processing of the MR OP has already been completed. If the work request gets ahead of the MR OP, the associated pending bit being set will notify the adapter'"'"'s work request transaction pipeline to stall (and possibly reschedule) completion of the work request until the processing of the MR OP for that memory region is complete. When the memory registration process for the memory region is complete, the associated pending bit is reset and the adapter transaction pipeline is permitted to continue processing the work request using the newly registered memory region.
-
Citations
16 Claims
-
1. An apparatus comprising:
a remote direct memory access (RDMA) adapter to be comprised in a server and to be coupled in the server to a plurality of host processors and to a host memory via a host interface, one of the host processors to initiate an RDMA transaction to be implemented by the adapter, the adapter to be coupled via physical interfaces to a network, the adapter including an offload engine, a local adapter memory interface, and protocol modules associated with respective protocols, one of the protocol modules to implement iWARP RDMA protocol layers and RDMA direct data placement, another of the protocol modules being an iSCSI protocol module to provide hardware acceleration to iSCSI protocol processing, the adapter to selectively permit data received from the host processors and the network to be provided to the protocol modules and the offload engine, the adapter to be programmed in support of an RDMA memory transaction requested by an RDMA transaction request from an application, a first pipeline portion of the adapter to enqueue a pending memory registration operation to register a memory region specified by the RDMA memory transaction, a second pipeline portion of the adapter to enqueue a work request specifying access to the memory region, processing of the work request to proceed as if the pending memory registration operation has already been completed unless the adapter is notified to stall completion of the work request until after memory registration operation processing is complete, the host memory including a plurality of memory regions, the adapter including a control operation portion having the first pipeline portion, a work request portion having the second pipeline portion, and a memory region table, a program being to queue a control operation of the RDMA transaction request in the first pipeline portion and to set a pending notification in the memory region table associated with the control operation and a relevant memory region of the plurality of memory regions, the program also being to queue the work request of the RDMA transaction request in the second pipeline portion, the control operation portion being to reset the pending notification as a result of completion of the control operation, and the work request portion being to delay processing of the work request if the pending notification is set and to complete processing of the work request if the pending notification is reset. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A method comprising:
coupling in a server a remote direct memory access (RDMA) adapter comprised in the server to a plurality of host processors and to a host memory via a host interface, one of the host processors to initiate an RDMA transaction to be implemented by the adapter, the adapter to be coupled via physical interfaces to a network, the adapter including an offload engine, a local adapter memory interface, and protocol modules associated with respective protocols, one of the protocol modules to implement iWARP RDMA protocol layers and RDMA direct data placement, another of the protocol modules being an iSCSI protocol module to provide hardware acceleration to iSCSI protocol processing, the adapter to selectively permit data received from the host processors and the network to be provided to the protocol modules and the offload engine, the adapter to be programmed in support of an RDMA memory transaction requested by an RDMA transaction request from an application, a first pipeline portion of the adapter to enqueue a pending memory registration operation to register a memory region specified by the RDMA memory transaction, a second pipeline portion of the adapter to enqueue a work request specifying access to the memory region, processing of the work request to proceed as if the pending memory registration operation has already been completed unless the adapter is notified to stall completion of the work request until after memory registration operation processing is complete, the host memory including a plurality of memory regions, the adapter including a control operation portion having the first pipeline portion, a work request portion having the second pipeline portion, and a memory region table, a program being to queue a control operation of the RDMA transaction request in the first pipeline portion and to set a pending notification in the memory region table associated with the control operation and a relevant memory region of the plurality of memory regions, the program also being to queue the work request of the RDMA transaction request in the second pipeline portion, the control operation portion being to reset the pending notification as a result of completion of the control operation, and the work request portion being to delay processing of the work request if the pending notification is set and to complete processing of the work request if the pending notification is reset. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
Specification