Searched refs:lpfc_tgttemplate (Results 1 – 1 of 1) sorted by relevance
1401 static struct nvmet_fc_target_template lpfc_tgttemplate = { variable1659 lpfc_tgttemplate.max_sgl_segments = phba->cfg_nvme_seg_cnt + 1; in lpfc_nvmet_create_targetport()1660 lpfc_tgttemplate.max_hw_queues = phba->cfg_hdw_queue; in lpfc_nvmet_create_targetport()1661 lpfc_tgttemplate.target_features = NVMET_FCTGTFEAT_READDATA_RSP; in lpfc_nvmet_create_targetport()1664 error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate, in lpfc_nvmet_create_targetport()1676 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1677 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()1694 lpfc_tgttemplate.max_sgl_segments, in lpfc_nvmet_create_targetport()1695 lpfc_tgttemplate.max_hw_queues); in lpfc_nvmet_create_targetport()2730 if (rsp->sg_cnt > lpfc_tgttemplate.max_sgl_segments) { in lpfc_nvmet_prep_fcp_wqe()