REDUCED-OVERHEAD DMA
First Claim
1. A method for accomplishing a plurality of direct memory access data transfers from a host to an adaptor, comprising:
- for each transfer, providing, from the host to the adaptor, an indication of locations of at least one group of storage locations associated with the host holding the data to be transferred to the adaptor;
maintaining an indication of the provided indication, for that transfer, by the host;
based on the indication of locations provided from the host to the adaptor, transferring data from the at least one group of storage locations to the adaptor;
providing, from the adaptor to the host, an indication that the data transferring step has been completed with respect to the at least one group of storage locations; and
by the host, determining the locations corresponding to the at least one group o storage locations based on the indications maintained by the host and freeing the locations of the at least one group of storage locations based on the determination.
11 Assignments
0 Petitions
Accused Products
Abstract
A plurality of direct memory access data transfers are accomplished to transfer data from a host to an adaptor. For each transfer, an indication of locations of at least one group of storage locations associated with the host available to hold the data to be transferred to the host is provided from the host to the adaptor. An indication of the provided indication is maintained, for that transfer, by the host. Based on the indication of locations provided from the host to the adaptor, data is transferred to the at least one group of storage locations from the adaptor. An indication is provided from the adaptor to the host that the data transferring step has been completed with respect to the at least one group of storage locations. The host determines the locations corresponding to the at least one group of storage locations based on the indications maintained by the host and retrieving the data from the at least one group of storage locations based on the determination. A similar method is provided to transfer data from the adaptor to the host. Broadly speaking, the host and adaptor retain state information between DMA data transfers. As a result, absolute values of overhead items need not be transferred between the host CPU and the I/O device for each DMA data transfer, and the amount of overhead is reduced.
34 Citations
16 Claims
-
1. A method for accomplishing a plurality of direct memory access data transfers from a host to an adaptor, comprising:
for each transfer, providing, from the host to the adaptor, an indication of locations of at least one group of storage locations associated with the host holding the data to be transferred to the adaptor;
maintaining an indication of the provided indication, for that transfer, by the host;
based on the indication of locations provided from the host to the adaptor, transferring data from the at least one group of storage locations to the adaptor;
providing, from the adaptor to the host, an indication that the data transferring step has been completed with respect to the at least one group of storage locations; and
by the host, determining the locations corresponding to the at least one group o storage locations based on the indications maintained by the host and freeing the locations of the at least one group of storage locations based on the determination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A method for accomplishing a plurality of direct memory access data transfers from an adaptor to host, comprising:
for each transfer, providing, from the host to the adaptor, an indication of locations of at least one group of storage locations associated with the host available to hold the data to be transferred to the host;
maintaining an indication of the provided indication, for that transfer, by the host;
based on the indication of locations provided from the host to the adaptor, transferring data to the at least one group of storage locations from the adaptor;
providing, from the adaptor to the host, an indication that the data transferring step has been completed with respect to the at least one group of storage locations; and
by the host, determining the locations corresponding to the at least one group of storage locations based on the indications maintained by the host and retrieving the data from the at least one group of storage locations based on the determination. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
Specification