/* This function is called with hbalock held to release driver iocb object to the iocb pool. The iotag in the iocb object does not change for each use of the iocb object. This function clears all other fields of the iocb object when it is freed.  */
static void __lpfc_sli_release_iocbq_s3(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq)
/* This function is called with hbalock held to release driver iocb object to the iocb pool. The iotag in the iocb object does not change for each use of the iocb object. This function clears all other fields of the iocb object when it is freed.  */
static void __lpfc_sli_release_iocbq_s3(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq)
{
	size_t start_clean = offsetof(struct lpfc_iocbq, iocb);
	memset((char*)iocbq + start_clean, 0, sizeof(*iocbq) - start_clean);
	iocbq->sli4_xritag = NO_XRI;
	list_add_tail(&iocbq->list, &phba->lpfc_iocb_list);
}