Home
last modified time | relevance | path

Searched refs:pdisc (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcbuild.c557 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_parse() local
559 if (pdisc->class3.class_valid != 1) in fc_pdisc_parse()
562 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse()
564 || (pdisc->class3.rxsz == 0)) in fc_pdisc_parse()
567 if (!wwn_is_equal(pdisc->port_name, port_name)) in fc_pdisc_parse()
570 if (!wwn_is_equal(pdisc->node_name, node_name)) in fc_pdisc_parse()
848 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_build() local
850 memcpy(pdisc, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_pdisc_build()
852 pdisc->els_cmd.els_code = FC_ELS_PDISC; in fc_pdisc_build()
855 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
[all …]