mpt_handshake_req_reply_wait - Send MPT request to and receive reply from IOC via doorbell handshake method.
2. SYNOPSIS ▲
int mpt_handshake_req_reply_wait(MPT_ADAPTER * ioc , int reqBytes , u32 * req , int replyBytes , u16 * u16reply , int maxwait , int sleepFlag );
3. ARGUMENTS ▲
Pointer to MPT_ADAPTER structure
Size of the request in bytes
Pointer to MPT request frame
Expected size of the reply in bytes
Pointer to area where reply should be written
Max wait time for a reply (in seconds)
Specifies whether the process can sleep
4. NOTES ▲
It is the callers responsibility to byte-swap fields in the request which are greater than 1 byte in size. It is also the callers responsibility to byte-swap response fields which are greater than 1 byte in size.
Returns 0 for success, non-zero for failure.
5. COPYRIGHT ▲