Lines Matching refs:fcxp
378 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_send_ls_rjt() local
385 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
386 if (!fcxp) in bfa_fcs_lport_send_ls_rjt()
389 len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_send_ls_rjt()
393 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
406 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_send_fcgs_rjt() local
415 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
416 if (!fcxp) in bfa_fcs_lport_send_fcgs_rjt()
419 ct_hdr = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_send_fcgs_rjt()
427 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
545 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_echo() local
552 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
553 if (!fcxp) in bfa_fcs_lport_echo()
556 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_echo()
568 memcpy(((u8 *) bfa_fcxp_get_reqbuf(fcxp)) + in bfa_fcs_lport_echo()
572 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
588 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_rnid() local
597 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
598 if (!fcxp) in bfa_fcs_lport_rnid()
624 len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_rnid()
629 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
723 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_abts_acc() local
729 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
730 if (!fcxp) in bfa_fcs_lport_abts_acc()
733 len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_abts_acc()
737 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
1386 struct bfa_fcxp_s *fcxp,
1393 struct bfa_fcxp_s *fcxp,
1400 struct bfa_fcxp_s *fcxp,
1578 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rhba()
1681 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rprt()
1782 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rpa()
1862 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rhba() local
1867 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rhba()
1869 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rhba()
1874 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rhba()
1876 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rhba()
1887 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2151 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rhba_response() argument
2172 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2195 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rprt() local
2200 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rprt()
2202 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rprt()
2207 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rprt()
2209 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rprt()
2220 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2474 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rprt_response() argument
2495 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2518 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rpa() local
2523 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rpa()
2525 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rpa()
2530 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rpa()
2532 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rpa()
2541 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2567 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rpa_response() argument
2587 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rpa_response()
2825 struct bfa_fcxp_s *fcxp,
2835 struct bfa_fcxp_s *fcxp,
2844 struct bfa_fcxp_s *fcxp,
2979 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_plogi()
3091 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gmal()
3135 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gmal() local
3139 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gmal()
3141 if (!fcxp) { in bfa_fcs_lport_ms_send_gmal()
3146 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gmal()
3148 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
3152 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3161 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gmal_response() argument
3186 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gmal_response()
3292 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gfn()
3336 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gfn() local
3340 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gfn()
3342 if (!fcxp) { in bfa_fcs_lport_ms_send_gfn()
3347 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gfn()
3349 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
3353 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3362 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gfn_response() argument
3383 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gfn_response()
3413 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_plogi() local
3417 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_plogi()
3419 if (!fcxp) { in bfa_fcs_lport_ms_send_plogi()
3425 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_plogi()
3427 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3434 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
3444 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_plogi_response() argument
3466 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3482 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3578 struct bfa_fcxp_s *fcxp,
3585 struct bfa_fcxp_s *fcxp,
3592 struct bfa_fcxp_s *fcxp,
3599 struct bfa_fcxp_s *fcxp,
3606 struct bfa_fcxp_s *fcxp,
3613 struct bfa_fcxp_s *fcxp,
3620 struct bfa_fcxp_s *fcxp,
3781 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_plogi()
3868 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rnn_id()
3954 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rsnn_nn()
4033 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rspn_id()
4118 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rft_id()
4221 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rff_id()
4302 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_gid_ft()
4378 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_plogi() local
4382 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_plogi()
4384 if (!fcxp) { in bfa_fcs_lport_ns_send_plogi()
4390 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_plogi()
4392 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
4399 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4409 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_plogi_response() argument
4432 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4448 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4475 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rnn_id() local
4479 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rnn_id()
4481 if (!fcxp) { in bfa_fcs_lport_ns_send_rnn_id()
4488 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rnn_id()
4490 len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rnn_id()
4495 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4505 bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rnn_id_response() argument
4527 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rnn_id_response()
4552 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rsnn_nn() local
4557 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rsnn_nn()
4559 if (!fcxp) { in bfa_fcs_lport_ns_send_rsnn_nn()
4565 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rsnn_nn()
4570 len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rsnn_nn()
4574 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4585 bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rsnn_nn_response() argument
4606 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rsnn_nn_response()
4631 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rspn_id() local
4639 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rspn_id()
4641 if (!fcxp) { in bfa_fcs_lport_ns_send_rspn_id()
4647 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rspn_id()
4677 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
4680 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4691 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rspn_id_response() argument
4712 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rspn_id_response()
4737 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rft_id() local
4741 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rft_id()
4743 if (!fcxp) { in bfa_fcs_lport_ns_send_rft_id()
4749 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rft_id()
4751 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
4754 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4764 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rft_id_response() argument
4785 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rft_id_response()
4810 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rff_id() local
4815 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rff_id()
4817 if (!fcxp) { in bfa_fcs_lport_ns_send_rff_id()
4823 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rff_id()
4828 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4832 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4842 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rff_id_response() argument
4863 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rff_id_response()
4895 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_gid_ft() local
4899 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_gid_ft()
4901 if (!fcxp) { in bfa_fcs_lport_ns_send_gid_ft()
4907 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_gid_ft()
4912 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4915 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
4926 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_gid_ft_response() argument
4958 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_gid_ft_response()
5162 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_util_send_rspn_id() local
5178 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_util_send_rspn_id()
5180 if (!fcxp) { in bfa_fcs_lport_ns_util_send_rspn_id()
5187 ns->fcxp = fcxp; in bfa_fcs_lport_ns_util_send_rspn_id()
5208 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_util_send_rspn_id()
5211 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5230 struct bfa_fcxp_s *fcxp,
5328 bfa_fcxp_discard(scn->fcxp); in bfa_fcs_lport_scn_sm_scr()
5386 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_scr() local
5391 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_scn_send_scr()
5393 if (!fcxp) { in bfa_fcs_lport_scn_send_scr()
5398 scn->fcxp = fcxp; in bfa_fcs_lport_scn_send_scr()
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()
5411 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5420 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_scn_scr_response() argument
5440 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5450 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5471 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_ls_acc() local
5477 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5478 if (!fcxp) in bfa_fcs_lport_scn_send_ls_acc()
5481 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
5485 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()