Method and device for off-loading message digest calculations
First Claim
1. A method for off-loading calculation of a data-integrity-checking value for a data message, the method comprising:
- providing a generalized interface allowing application programs to request data-integrity-checking value calculations, wherein the interface is independent of the capabilities of the processing elements that perform the calculations;
an application program selecting a data-integrity-checking scheme from a specified set of schemes, wherein each scheme of the specified set of schemes identifies a corresponding data digest type to calculate a data-integrity-checking value;
the application program communicating the data-integrity-checking scheme and the data message to a second program using the generalized interface; and
the second program calculating a data-integrity-checking value according to the data-integrity-checking scheme for the data message.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and device for off-loading from an application program the calculation of a data-integrity-checking value for specified data in a computer system. The data may be included in a message together with the integrity-checking value or may be in a portion of a memory window for direct memory access. The method includes communicating a selected data-integrity-checking scheme from a specified set of schemes to another processor to off-load calculation of the data-integrity-checking value. A related method associates a message to be received with a data-integrity-checking scheme, so that a receiving processor can calculate the data-integrity-checking value and transmit both the value and the message to another processor.
-
Citations
19 Claims
-
1. A method for off-loading calculation of a data-integrity-checking value for a data message, the method comprising:
-
providing a generalized interface allowing application programs to request data-integrity-checking value calculations, wherein the interface is independent of the capabilities of the processing elements that perform the calculations; an application program selecting a data-integrity-checking scheme from a specified set of schemes, wherein each scheme of the specified set of schemes identifies a corresponding data digest type to calculate a data-integrity-checking value; the application program communicating the data-integrity-checking scheme and the data message to a second program using the generalized interface; and the second program calculating a data-integrity-checking value according to the data-integrity-checking scheme for the data message. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for off-loading calculation of a data-integrity-checking value for a message received at a computer node, the method comprising:
-
selecting a data-integrity-checking scheme from a specified set of schemes using an application program; communicating the data-integrity-checking scheme and a message selection criterion to a second program; and if the message meets the message selection criterion, calculating a data-integrity-checking value according to the data-integrity-checking scheme for the message using the second program; and communicating the message and the data-integrity-checking value to the application program. - View Dependent Claims (8, 9, 10)
-
-
11. A method for off-loading calculation of a data-integrity-checking value for a remote direct memory access (RDMA) transfer to a specified portion of a memory window, the method comprising:
-
selecting a data-integrity-checking scheme from a specified set of schemes using an application program; communicating the data-integrity-checking scheme to a second program, including expected address limits; communicating address limits of the specified portion of the memory window to the second program after the transfer completes; calculating the data-integrity-checking value according to the given data-integrity-checking scheme for the specified portion of the memory window using the second program, when the remote direct memory access (RDMA) transfer occurs; and communicating the data-integrity-checking value to the application program. - View Dependent Claims (12)
-
-
13. A method for off-loading calculation of a data-integrity-checking value for a direct memory access transfer to a specified portion of a memory window, the method comprising:
-
selecting a data-integrity-checking scheme from a specified set of schemes using an application program; communicating the data-integrity-checking scheme to a second program, including expected address limits; communicating address limits of the specified portion of the memory window to the second program after the transfer completes; calculating the data-integrity-checking value according to the given data-integrity-checking scheme for the specified portion of the memory window using the second program when the direct memory access transfer occurs; and communicating the data-integrity-checking value to the application program; wherein calculating the data-integrity-checking value using the second program includes; initializing a hardware resource for calculating the value and setting a data-integrity-checking value valid flag to false; calculating a data-integrity-checking value according to the scheme using the resource when the transfer occurs to expected address limits in the window; setting the data-integrity-checking value valid flag to true and setting actual-transfer address-values, when the hardware resource completes the data integrity-checking value calculation; reading the data-integrity-checking value valid flag and actual-transfer address-values using the second program when the application program queries the second program for the data-integrity-checking value, the query including the address limits of the specified portion of the memory window; and calculating the data-integrity-checking value over the specified portion of the memory window using the second program when at least one of the following conditions is true;
(1) the data-integrity-checking value valid flag is false and (2) actual-transfer address-values do not match the specified portion of the memory window.
-
-
14. A method for off-loading calculation of a data-integrity-checking value for a direct memory access transfer to a specified portion of a memory window, the method comprising:
-
selecting a data-integrity-checking scheme from a specified set of schemes using an application program; communicating the data-integrity-checking scheme to a second program, including expected address limits; communicating address limits of the specified portion of the memory window to the second program after the transfer completes; calculating the data-integrity-checking value according to the given data-integrity-checking scheme for the specified portion of the memory window using the second program when the direct memory access transfer occurs; and communicating the data-integrity-checking value to the application program; wherein communicating the scheme is performed by a bind memory window operation and wherein the data-integrity-checking value is accessible to the application program by a query memory window operation.
-
-
15. A device for off-loading calculation of a data-integrity-checking value for a data message, the device comprising:
-
a first processor including; logic for selecting a data-integrity-checking scheme from a specified set of schemes using an application program, wherein each scheme of the specified set of schemes identifies a corresponding data digest type to calculate a data-integrity-checking value; and logic for communicating the data-integrity-checking scheme and the message; and a second processor including; logic for receiving the scheme and the data message from the first processor and calculating a data-integrity-checking value according to the scheme for the data message using a second program. - View Dependent Claims (16)
-
-
17. A device for off-loading calculation of a data-integrity-checking value for a message, the message received at a computer system, the device comprising:
-
a first processor including; logic for selecting a data-integrity-checking scheme from a specified set of schemes, the logic executed by an application program, and logic for communicating the data-integrity-checking scheme and an identifier for the message; and a second processor including; logic for receiving the scheme and the message identifier from the first processor and calculating the data-integrity-checking value according to the data-integrity-checking scheme for the message, the logic executed by a second program, and logic for communicating the given message and the data-integrity-checking value to the first processor.
-
-
18. A device for off-loading calculation of a data-integrity-checking value for a direct memory access transfer to a specified portion of a memory window, the device comprising:
-
a first processor including; logic for selecting a data-integrity-checking scheme from a specified set of schemes, the logic executed by an application program, logic for communicating the data-integrity-checking scheme including expected address limits, and logic for communicating address limits of the specified portion of the memory window after the transfer completes; and a second processor including; logic for receiving the scheme from the first processor, receiving the address limits of the specified portion of the address window after the transfer completes and calculating a data-integrity-checking value according to the scheme for the specified portion of the window, when the direct memory access transfer completes, the logic executed by a second program; and logic for communicating the data-integrity-checking value to the first processor. - View Dependent Claims (19)
-
Specification