Searched refs:lpfc_tgttemplate (Results 1 – 1 of 1) sorted by relevance
1415 static struct nvmet_fc_target_template lpfc_tgttemplate = { variable1674 lpfc_tgttemplate.max_sgl_segments = phba->cfg_nvme_seg_cnt + 1; in lpfc_nvmet_create_targetport()1675 lpfc_tgttemplate.max_hw_queues = phba->cfg_hdw_queue; in lpfc_nvmet_create_targetport()1676 lpfc_tgttemplate.target_features = NVMET_FCTGTFEAT_READDATA_RSP; in lpfc_nvmet_create_targetport()1679 error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate, in lpfc_nvmet_create_targetport()1691 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1692 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()1709 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1710 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()2747 if (rsp->sg_cnt > lpfc_tgttemplate.max_sgl_segments) { in lpfc_nvmet_prep_fcp_wqe()