Lines Matching refs:fchs

377 	struct fchs_s	fchs;  in bfa_fcs_lport_send_ls_rjt()  local
389 len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_send_ls_rjt()
394 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_ls_rjt()
405 struct fchs_s fchs; in bfa_fcs_lport_send_fcgs_rjt() local
423 len = fc_gs_rjt_build(&fchs, ct_hdr, rx_fchs->s_id, in bfa_fcs_lport_send_fcgs_rjt()
428 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_fcgs_rjt()
544 struct fchs_s fchs; in bfa_fcs_lport_echo() local
556 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_echo()
573 BFA_FALSE, FC_CLASS_3, pyld_len, &fchs, NULL, NULL, in bfa_fcs_lport_echo()
587 struct fchs_s fchs; in bfa_fcs_lport_rnid() local
624 len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_rnid()
630 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_rnid()
722 struct fchs_s fchs; in bfa_fcs_lport_abts_acc() local
733 len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_abts_acc()
738 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_abts_acc()
766 struct fchs_s *fchs, u16 len) in bfa_fcs_lport_uf_recv() argument
768 u32 pid = fchs->s_id; in bfa_fcs_lport_uf_recv()
770 struct fc_els_cmd_s *els_cmd = (struct fc_els_cmd_s *) (fchs + 1); in bfa_fcs_lport_uf_recv()
773 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
781 if ((fchs->type == FC_TYPE_ELS) && in bfa_fcs_lport_uf_recv()
783 bfa_fcs_lport_send_ls_rjt(lport, fchs, in bfa_fcs_lport_uf_recv()
799 if ((fchs->type == FC_TYPE_ELS) && in bfa_fcs_lport_uf_recv()
801 bfa_fcs_lport_plogi(lport, fchs, (struct fc_logi_s *) els_cmd); in bfa_fcs_lport_uf_recv()
808 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_ECHO)) { in bfa_fcs_lport_uf_recv()
809 bfa_fcs_lport_echo(lport, fchs, in bfa_fcs_lport_uf_recv()
817 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_RNID)) { in bfa_fcs_lport_uf_recv()
818 bfa_fcs_lport_rnid(lport, fchs, in bfa_fcs_lport_uf_recv()
823 if (fchs->type == FC_TYPE_BLS) { in bfa_fcs_lport_uf_recv()
824 if ((fchs->routing == FC_RTG_BASIC_LINK) && in bfa_fcs_lport_uf_recv()
825 (fchs->cat_info == FC_CAT_ABTS)) in bfa_fcs_lport_uf_recv()
826 bfa_fcs_lport_abts_acc(lport, fchs); in bfa_fcs_lport_uf_recv()
830 if (fchs->type == FC_TYPE_SERVICES) { in bfa_fcs_lport_uf_recv()
834 bfa_fcs_lport_send_fcgs_rjt(lport, fchs, CT_RSN_NOT_SUPP, in bfa_fcs_lport_uf_recv()
844 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
845 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
846 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
848 bfa_fcs_rport_uf_recv(rport, fchs, len); in bfa_fcs_lport_uf_recv()
855 if (fchs->type != FC_TYPE_ELS) { in bfa_fcs_lport_uf_recv()
856 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
857 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
859 if (fchs->type != FC_TYPE_FC_FSS) in bfa_fcs_lport_uf_recv()
860 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
866 bfa_fcs_lport_scn_process_rscn(lport, fchs, len); in bfa_fcs_lport_uf_recv()
887 bfa_fcs_lport_send_ls_rjt(lport, fchs, FC_LS_RJT_RSN_CMD_NOT_SUPP, in bfa_fcs_lport_uf_recv()
1860 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rhba() local
1879 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rhba()
1888 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba()
2193 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rprt() local
2212 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rprt()
2221 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt()
2516 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rpa() local
2535 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rpa()
2542 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
3133 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gmal() local
3148 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
3153 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gmal()
3334 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gfn() local
3349 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
3354 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gfn()
3411 struct fchs_s fchs; in bfa_fcs_lport_ms_send_plogi() local
3427 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3435 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_plogi()
4376 struct fchs_s fchs; in bfa_fcs_lport_ns_send_plogi() local
4392 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
4400 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_plogi()
4473 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rnn_id() local
4490 len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rnn_id()
4496 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rnn_id()
4550 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rsnn_nn() local
4570 len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rsnn_nn()
4575 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rsnn_nn()
4629 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rspn_id() local
4677 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
4681 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rspn_id()
4735 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rft_id() local
4751 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
4755 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rft_id()
4808 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rff_id() local
4828 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4833 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rff_id()
4893 struct fchs_s fchs; in bfa_fcs_lport_ns_send_gid_ft() local
4912 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4916 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_gid_ft()
5161 struct fchs_s fchs; in bfa_fcs_lport_ns_util_send_rspn_id() local
5208 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_util_send_rspn_id()
5212 FC_CLASS_3, len, &fchs, NULL, NULL, FC_MAX_PDUSZ, 0); in bfa_fcs_lport_ns_util_send_rspn_id()
5384 struct fchs_s fchs; in bfa_fcs_lport_scn_send_scr() local
5402 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5406 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5412 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_scn_send_scr()
5470 struct fchs_s fchs; in bfa_fcs_lport_scn_send_ls_acc() local
5481 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
5486 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_scn_send_ls_acc()
5625 struct fchs_s *fchs, u32 len) in bfa_fcs_lport_scn_process_rscn() argument
5627 struct fc_rscn_pl_s *rscn = (struct fc_rscn_pl_s *) (fchs + 1); in bfa_fcs_lport_scn_process_rscn()
5641 bfa_fcs_lport_scn_send_ls_acc(port, fchs); in bfa_fcs_lport_scn_process_rscn()