Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfa_fcbuild.c558 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_parse() local
560 if (pdisc->class3.class_valid != 1) in fc_pdisc_parse()
563 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse()
565 || (pdisc->class3.rxsz == 0)) in fc_pdisc_parse()
568 if (!wwn_is_equal(pdisc->port_name, port_name)) in fc_pdisc_parse()
571 if (!wwn_is_equal(pdisc->node_name, node_name)) in fc_pdisc_parse()
849 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_build() local
851 memcpy(pdisc, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_pdisc_build()
853 pdisc->els_cmd.els_code = FC_ELS_PDISC; in fc_pdisc_build()
856 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
[all …]