Lines Matching refs:fchs

335 	struct fchs_s	fchs;  in bfa_fcs_lport_send_ls_rjt()  local
347 len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_send_ls_rjt()
352 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_ls_rjt()
363 struct fchs_s fchs; in bfa_fcs_lport_send_fcgs_rjt() local
381 len = fc_gs_rjt_build(&fchs, ct_hdr, rx_fchs->s_id, in bfa_fcs_lport_send_fcgs_rjt()
386 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_fcgs_rjt()
502 struct fchs_s fchs; in bfa_fcs_lport_echo() local
514 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_echo()
531 BFA_FALSE, FC_CLASS_3, pyld_len, &fchs, NULL, NULL, in bfa_fcs_lport_echo()
545 struct fchs_s fchs; in bfa_fcs_lport_rnid() local
582 len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_rnid()
588 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_rnid()
680 struct fchs_s fchs; in bfa_fcs_lport_abts_acc() local
691 len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_abts_acc()
696 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_abts_acc()
728 struct fchs_s *fchs, u16 len) in bfa_fcs_lport_uf_recv() argument
730 u32 pid = fchs->s_id; in bfa_fcs_lport_uf_recv()
732 struct fc_els_cmd_s *els_cmd = (struct fc_els_cmd_s *) (fchs + 1); in bfa_fcs_lport_uf_recv()
735 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
748 if ((fchs->type == FC_TYPE_ELS) && in bfa_fcs_lport_uf_recv()
750 bfa_fcs_lport_plogi(lport, fchs, (struct fc_logi_s *) els_cmd); in bfa_fcs_lport_uf_recv()
757 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_ECHO)) { in bfa_fcs_lport_uf_recv()
758 bfa_fcs_lport_echo(lport, fchs, in bfa_fcs_lport_uf_recv()
766 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_RNID)) { in bfa_fcs_lport_uf_recv()
767 bfa_fcs_lport_rnid(lport, fchs, in bfa_fcs_lport_uf_recv()
772 if (fchs->type == FC_TYPE_BLS) { in bfa_fcs_lport_uf_recv()
773 if ((fchs->routing == FC_RTG_BASIC_LINK) && in bfa_fcs_lport_uf_recv()
774 (fchs->cat_info == FC_CAT_ABTS)) in bfa_fcs_lport_uf_recv()
775 bfa_fcs_lport_abts_acc(lport, fchs); in bfa_fcs_lport_uf_recv()
779 if (fchs->type == FC_TYPE_SERVICES) { in bfa_fcs_lport_uf_recv()
783 bfa_fcs_lport_send_fcgs_rjt(lport, fchs, CT_RSN_NOT_SUPP, in bfa_fcs_lport_uf_recv()
793 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
794 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
795 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
797 bfa_fcs_rport_uf_recv(rport, fchs, len); in bfa_fcs_lport_uf_recv()
804 if (fchs->type != FC_TYPE_ELS) { in bfa_fcs_lport_uf_recv()
805 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
806 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
808 if (fchs->type != FC_TYPE_FC_FSS) in bfa_fcs_lport_uf_recv()
809 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
815 bfa_fcs_lport_scn_process_rscn(lport, fchs, len); in bfa_fcs_lport_uf_recv()
836 bfa_fcs_lport_send_ls_rjt(lport, fchs, FC_LS_RJT_RSN_CMD_NOT_SUPP, in bfa_fcs_lport_uf_recv()
1657 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rhba() local
1675 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rhba()
1684 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba()
1931 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rprt() local
1949 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rprt()
1958 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt()
2146 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rpa() local
2164 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rpa()
2171 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
2737 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gmal() local
2751 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
2756 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gmal()
2937 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gfn() local
2951 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
2956 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gfn()
3013 struct fchs_s fchs; in bfa_fcs_lport_ms_send_plogi() local
3028 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3036 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_plogi()
3771 struct fchs_s fchs; in bfa_fcs_lport_ns_send_plogi() local
3786 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
3794 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_plogi()
3867 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rspn_id() local
3914 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
3918 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rspn_id()
3972 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rft_id() local
3987 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
3991 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rft_id()
4044 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rff_id() local
4063 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4068 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rff_id()
4128 struct fchs_s fchs; in bfa_fcs_lport_ns_send_gid_ft() local
4146 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4150 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_gid_ft()
4529 struct fchs_s fchs; in bfa_fcs_lport_scn_send_scr() local
4546 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
4550 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
4556 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_scn_send_scr()
4614 struct fchs_s fchs; in bfa_fcs_lport_scn_send_ls_acc() local
4625 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
4630 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_scn_send_ls_acc()
4750 struct fchs_s *fchs, u32 len) in bfa_fcs_lport_scn_process_rscn() argument
4752 struct fc_rscn_pl_s *rscn = (struct fc_rscn_pl_s *) (fchs + 1); in bfa_fcs_lport_scn_process_rscn()
4766 bfa_fcs_lport_scn_send_ls_acc(port, fchs); in bfa_fcs_lport_scn_process_rscn()