Lines Matching refs:fcxp

382 	struct bfa_fcxp_s *fcxp;  in bfa_fcs_lport_send_ls_rjt()  local
389 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
390 if (!fcxp) in bfa_fcs_lport_send_ls_rjt()
393 len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_send_ls_rjt()
397 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
410 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_send_fcgs_rjt() local
419 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
420 if (!fcxp) in bfa_fcs_lport_send_fcgs_rjt()
423 ct_hdr = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_send_fcgs_rjt()
431 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
549 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_echo() local
556 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
557 if (!fcxp) in bfa_fcs_lport_echo()
560 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_echo()
572 memcpy(((u8 *) bfa_fcxp_get_reqbuf(fcxp)) + in bfa_fcs_lport_echo()
576 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
592 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_rnid() local
601 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
602 if (!fcxp) in bfa_fcs_lport_rnid()
628 len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_rnid()
633 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
727 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_abts_acc() local
733 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
734 if (!fcxp) in bfa_fcs_lport_abts_acc()
737 len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_abts_acc()
741 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
1390 struct bfa_fcxp_s *fcxp,
1397 struct bfa_fcxp_s *fcxp,
1404 struct bfa_fcxp_s *fcxp,
1582 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rhba()
1685 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rprt()
1786 bfa_fcxp_discard(fdmi->fcxp); in bfa_fcs_lport_fdmi_sm_rpa()
1866 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rhba() local
1871 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rhba()
1873 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rhba()
1878 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rhba()
1880 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rhba()
1893 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2163 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rhba_response() argument
2184 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2207 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rprt() local
2212 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rprt()
2214 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rprt()
2219 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rprt()
2221 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rprt()
2232 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2486 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rprt_response() argument
2507 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2530 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rpa() local
2535 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rpa()
2537 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rpa()
2542 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rpa()
2544 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rpa()
2553 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2579 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rpa_response() argument
2599 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rpa_response()
2837 struct bfa_fcxp_s *fcxp,
2847 struct bfa_fcxp_s *fcxp,
2856 struct bfa_fcxp_s *fcxp,
2991 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_plogi()
3103 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gmal()
3147 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gmal() local
3151 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gmal()
3153 if (!fcxp) { in bfa_fcs_lport_ms_send_gmal()
3158 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gmal()
3160 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
3164 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3173 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gmal_response() argument
3198 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gmal_response()
3304 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gfn()
3348 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gfn() local
3352 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gfn()
3354 if (!fcxp) { in bfa_fcs_lport_ms_send_gfn()
3359 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gfn()
3361 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
3365 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3374 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gfn_response() argument
3395 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gfn_response()
3425 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_plogi() local
3429 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_plogi()
3431 if (!fcxp) { in bfa_fcs_lport_ms_send_plogi()
3437 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_plogi()
3439 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3446 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
3456 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_plogi_response() argument
3478 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3494 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3590 struct bfa_fcxp_s *fcxp,
3597 struct bfa_fcxp_s *fcxp,
3604 struct bfa_fcxp_s *fcxp,
3611 struct bfa_fcxp_s *fcxp,
3618 struct bfa_fcxp_s *fcxp,
3625 struct bfa_fcxp_s *fcxp,
3632 struct bfa_fcxp_s *fcxp,
3793 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_plogi()
3880 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rnn_id()
3966 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rsnn_nn()
4045 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rspn_id()
4130 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rft_id()
4233 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rff_id()
4314 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_gid_ft()
4390 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_plogi() local
4394 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_plogi()
4396 if (!fcxp) { in bfa_fcs_lport_ns_send_plogi()
4402 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_plogi()
4404 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
4411 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4421 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_plogi_response() argument
4444 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4460 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4487 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rnn_id() local
4491 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rnn_id()
4493 if (!fcxp) { in bfa_fcs_lport_ns_send_rnn_id()
4500 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rnn_id()
4502 len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rnn_id()
4507 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4517 bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rnn_id_response() argument
4539 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rnn_id_response()
4564 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rsnn_nn() local
4569 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rsnn_nn()
4571 if (!fcxp) { in bfa_fcs_lport_ns_send_rsnn_nn()
4577 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rsnn_nn()
4582 len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rsnn_nn()
4586 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4597 bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rsnn_nn_response() argument
4618 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rsnn_nn_response()
4643 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rspn_id() local
4651 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rspn_id()
4653 if (!fcxp) { in bfa_fcs_lport_ns_send_rspn_id()
4659 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rspn_id()
4681 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
4684 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4695 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rspn_id_response() argument
4716 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rspn_id_response()
4741 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rft_id() local
4745 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rft_id()
4747 if (!fcxp) { in bfa_fcs_lport_ns_send_rft_id()
4753 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rft_id()
4755 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
4758 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4768 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rft_id_response() argument
4789 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rft_id_response()
4814 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rff_id() local
4819 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rff_id()
4821 if (!fcxp) { in bfa_fcs_lport_ns_send_rff_id()
4827 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rff_id()
4832 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4836 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4846 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rff_id_response() argument
4867 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rff_id_response()
4899 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_gid_ft() local
4903 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_gid_ft()
4905 if (!fcxp) { in bfa_fcs_lport_ns_send_gid_ft()
4911 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_gid_ft()
4916 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4919 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
4930 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_gid_ft_response() argument
4962 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_gid_ft_response()
5166 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_util_send_rspn_id() local
5181 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_util_send_rspn_id()
5183 if (!fcxp) { in bfa_fcs_lport_ns_util_send_rspn_id()
5190 ns->fcxp = fcxp; in bfa_fcs_lport_ns_util_send_rspn_id()
5206 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_util_send_rspn_id()
5209 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5228 struct bfa_fcxp_s *fcxp,
5326 bfa_fcxp_discard(scn->fcxp); in bfa_fcs_lport_scn_sm_scr()
5384 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_scr() local
5389 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_scn_send_scr()
5391 if (!fcxp) { in bfa_fcs_lport_scn_send_scr()
5396 scn->fcxp = fcxp; in bfa_fcs_lport_scn_send_scr()
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()
5409 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5418 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_scn_scr_response() argument
5438 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5448 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5469 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_ls_acc() local
5475 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5476 if (!fcxp) in bfa_fcs_lport_scn_send_ls_acc()
5479 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
5483 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()