Searched refs:lpfc_tgttemplate (Results 1 – 1 of 1) sorted by relevance
1136 static struct nvmet_fc_target_template lpfc_tgttemplate = { variable1387 lpfc_tgttemplate.max_sgl_segments = phba->cfg_nvme_seg_cnt + 1; in lpfc_nvmet_create_targetport()1388 lpfc_tgttemplate.max_hw_queues = phba->cfg_nvme_io_channel; in lpfc_nvmet_create_targetport()1389 lpfc_tgttemplate.target_features = NVMET_FCTGTFEAT_READDATA_RSP; in lpfc_nvmet_create_targetport()1392 error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate, in lpfc_nvmet_create_targetport()1404 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1405 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()1422 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1423 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()2326 if (rsp->sg_cnt > lpfc_tgttemplate.max_sgl_segments) { in lpfc_nvmet_prep_fcp_wqe()