Searched refs:lpfc_tgttemplate (Results 1 – 1 of 1) sorted by relevance
1218 static struct nvmet_fc_target_template lpfc_tgttemplate = { variable1472 lpfc_tgttemplate.max_sgl_segments = phba->cfg_nvme_seg_cnt + 1; in lpfc_nvmet_create_targetport()1473 lpfc_tgttemplate.max_hw_queues = phba->cfg_hdw_queue; in lpfc_nvmet_create_targetport()1474 lpfc_tgttemplate.target_features = NVMET_FCTGTFEAT_READDATA_RSP; in lpfc_nvmet_create_targetport()1477 error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate, in lpfc_nvmet_create_targetport()1489 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1490 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()1507 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1508 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()2623 if (rsp->sg_cnt > lpfc_tgttemplate.max_sgl_segments) { in lpfc_nvmet_prep_fcp_wqe()