Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfa_fcbuild.c553 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_parse() local
555 if (pdisc->class3.class_valid != 1) in fc_pdisc_parse()
558 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse()
560 || (pdisc->class3.rxsz == 0)) in fc_pdisc_parse()
563 if (!wwn_is_equal(pdisc->port_name, port_name)) in fc_pdisc_parse()
566 if (!wwn_is_equal(pdisc->node_name, node_name)) in fc_pdisc_parse()
844 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_build() local
846 memcpy(pdisc, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_pdisc_build()
848 pdisc->els_cmd.els_code = FC_ELS_PDISC; in fc_pdisc_build()
851 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
[all …]