- phba->iocb_mem_pool = mempool_create(LPFC_MEM_POOL_SIZE,
- lpfc_pool_kmalloc, lpfc_pool_kfree,
- (void *)(unsigned long)sizeof(struct lpfc_iocbq));
- if (!phba->iocb_mem_pool)
- goto fail_free_mbuf_pool;
-
- phba->scsibuf_mem_pool = mempool_create(LPFC_MEM_POOL_SIZE,
- lpfc_pool_kmalloc, lpfc_pool_kfree,
- (void *)(unsigned long)sizeof(struct lpfc_scsi_buf));
- if (!phba->scsibuf_mem_pool)
- goto fail_free_iocb_pool;
-