Searched refs:lpfc_tgttemplate (Results 1 – 1 of 1) sorted by relevance
1405 static struct nvmet_fc_target_template lpfc_tgttemplate = { variable1666 lpfc_tgttemplate.max_sgl_segments = phba->cfg_nvme_seg_cnt + 1; in lpfc_nvmet_create_targetport()1667 lpfc_tgttemplate.max_hw_queues = phba->cfg_hdw_queue; in lpfc_nvmet_create_targetport()1668 lpfc_tgttemplate.target_features = NVMET_FCTGTFEAT_READDATA_RSP; in lpfc_nvmet_create_targetport()1671 error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate, in lpfc_nvmet_create_targetport()1683 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1684 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()1701 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1702 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()2737 if (rsp->sg_cnt > lpfc_tgttemplate.max_sgl_segments) { in lpfc_nvmet_prep_fcp_wqe()