Lines Matching refs:fchs

381 	struct fchs_s	fchs;  in bfa_fcs_lport_send_ls_rjt()  local
393 len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_send_ls_rjt()
398 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_ls_rjt()
409 struct fchs_s fchs; in bfa_fcs_lport_send_fcgs_rjt() local
427 len = fc_gs_rjt_build(&fchs, ct_hdr, rx_fchs->s_id, in bfa_fcs_lport_send_fcgs_rjt()
432 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_send_fcgs_rjt()
548 struct fchs_s fchs; in bfa_fcs_lport_echo() local
560 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_echo()
577 BFA_FALSE, FC_CLASS_3, pyld_len, &fchs, NULL, NULL, in bfa_fcs_lport_echo()
591 struct fchs_s fchs; in bfa_fcs_lport_rnid() local
628 len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_rnid()
634 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_rnid()
726 struct fchs_s fchs; in bfa_fcs_lport_abts_acc() local
737 len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_abts_acc()
742 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_abts_acc()
770 struct fchs_s *fchs, u16 len) in bfa_fcs_lport_uf_recv() argument
772 u32 pid = fchs->s_id; in bfa_fcs_lport_uf_recv()
774 struct fc_els_cmd_s *els_cmd = (struct fc_els_cmd_s *) (fchs + 1); in bfa_fcs_lport_uf_recv()
777 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
785 if ((fchs->type == FC_TYPE_ELS) && in bfa_fcs_lport_uf_recv()
787 bfa_fcs_lport_send_ls_rjt(lport, fchs, in bfa_fcs_lport_uf_recv()
803 if ((fchs->type == FC_TYPE_ELS) && in bfa_fcs_lport_uf_recv()
805 bfa_fcs_lport_plogi(lport, fchs, (struct fc_logi_s *) els_cmd); in bfa_fcs_lport_uf_recv()
812 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_ECHO)) { in bfa_fcs_lport_uf_recv()
813 bfa_fcs_lport_echo(lport, fchs, in bfa_fcs_lport_uf_recv()
821 if ((fchs->type == FC_TYPE_ELS) && (els_cmd->els_code == FC_ELS_RNID)) { in bfa_fcs_lport_uf_recv()
822 bfa_fcs_lport_rnid(lport, fchs, in bfa_fcs_lport_uf_recv()
827 if (fchs->type == FC_TYPE_BLS) { in bfa_fcs_lport_uf_recv()
828 if ((fchs->routing == FC_RTG_BASIC_LINK) && in bfa_fcs_lport_uf_recv()
829 (fchs->cat_info == FC_CAT_ABTS)) in bfa_fcs_lport_uf_recv()
830 bfa_fcs_lport_abts_acc(lport, fchs); in bfa_fcs_lport_uf_recv()
834 if (fchs->type == FC_TYPE_SERVICES) { in bfa_fcs_lport_uf_recv()
838 bfa_fcs_lport_send_fcgs_rjt(lport, fchs, CT_RSN_NOT_SUPP, in bfa_fcs_lport_uf_recv()
848 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
849 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
850 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
852 bfa_fcs_rport_uf_recv(rport, fchs, len); in bfa_fcs_lport_uf_recv()
859 if (fchs->type != FC_TYPE_ELS) { in bfa_fcs_lport_uf_recv()
860 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
861 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
863 if (fchs->type != FC_TYPE_FC_FSS) in bfa_fcs_lport_uf_recv()
864 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
870 bfa_fcs_lport_scn_process_rscn(lport, fchs, len); in bfa_fcs_lport_uf_recv()
891 bfa_fcs_lport_send_ls_rjt(lport, fchs, FC_LS_RJT_RSN_CMD_NOT_SUPP, in bfa_fcs_lport_uf_recv()
1864 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rhba() local
1883 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rhba()
1894 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba()
2205 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rprt() local
2224 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rprt()
2233 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt()
2528 struct fchs_s fchs; in bfa_fcs_lport_fdmi_send_rpa() local
2547 len = fc_fdmi_reqhdr_build(&fchs, pyld, bfa_fcs_lport_get_fcid(port), in bfa_fcs_lport_fdmi_send_rpa()
2554 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
3145 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gmal() local
3160 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
3165 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gmal()
3346 struct fchs_s fchs; in bfa_fcs_lport_ms_send_gfn() local
3361 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
3366 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_gfn()
3423 struct fchs_s fchs; in bfa_fcs_lport_ms_send_plogi() local
3439 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3447 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ms_send_plogi()
4388 struct fchs_s fchs; in bfa_fcs_lport_ns_send_plogi() local
4404 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
4412 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_plogi()
4485 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rnn_id() local
4502 len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rnn_id()
4508 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rnn_id()
4562 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rsnn_nn() local
4582 len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rsnn_nn()
4587 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rsnn_nn()
4641 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rspn_id() local
4681 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
4685 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rspn_id()
4739 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rft_id() local
4755 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
4759 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rft_id()
4812 struct fchs_s fchs; in bfa_fcs_lport_ns_send_rff_id() local
4832 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4837 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_rff_id()
4897 struct fchs_s fchs; in bfa_fcs_lport_ns_send_gid_ft() local
4916 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4920 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_ns_send_gid_ft()
5165 struct fchs_s fchs; in bfa_fcs_lport_ns_util_send_rspn_id() local
5206 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_util_send_rspn_id()
5210 FC_CLASS_3, len, &fchs, NULL, NULL, FC_MAX_PDUSZ, 0); in bfa_fcs_lport_ns_util_send_rspn_id()
5382 struct fchs_s fchs; in bfa_fcs_lport_scn_send_scr() local
5400 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5404 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5410 FC_CLASS_3, len, &fchs, in bfa_fcs_lport_scn_send_scr()
5468 struct fchs_s fchs; in bfa_fcs_lport_scn_send_ls_acc() local
5479 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
5484 BFA_FALSE, FC_CLASS_3, len, &fchs, NULL, NULL, in bfa_fcs_lport_scn_send_ls_acc()
5623 struct fchs_s *fchs, u32 len) in bfa_fcs_lport_scn_process_rscn() argument
5625 struct fc_rscn_pl_s *rscn = (struct fc_rscn_pl_s *) (fchs + 1); in bfa_fcs_lport_scn_process_rscn()
5639 bfa_fcs_lport_scn_send_ls_acc(port, fchs); in bfa_fcs_lport_scn_process_rscn()