Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/bfa/
Dbfa_fcbuild.c529 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_parse() local
531 if (pdisc->class3.class_valid != 1) in fc_pdisc_parse()
534 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse()
536 || (pdisc->class3.rxsz == 0)) in fc_pdisc_parse()
539 if (!wwn_is_equal(pdisc->port_name, port_name)) in fc_pdisc_parse()
542 if (!wwn_is_equal(pdisc->node_name, node_name)) in fc_pdisc_parse()
808 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_build() local
810 memcpy(pdisc, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_pdisc_build()
812 pdisc->els_cmd.els_code = FC_ELS_PDISC; in fc_pdisc_build()
815 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
[all …]