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()
1891 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2155 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rhba_response() argument
2176 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2199 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rprt() local
2204 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rprt()
2206 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rprt()
2211 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rprt()
2213 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rprt()
2224 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2478 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rprt_response() argument
2499 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2522 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_fdmi_send_rpa() local
2527 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_fdmi_send_rpa()
2529 if (!fcxp) { in bfa_fcs_lport_fdmi_send_rpa()
2534 fdmi->fcxp = fcxp; in bfa_fcs_lport_fdmi_send_rpa()
2536 pyld = bfa_fcxp_get_reqbuf(fcxp); in bfa_fcs_lport_fdmi_send_rpa()
2545 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2571 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_fdmi_rpa_response() argument
2591 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rpa_response()
2829 struct bfa_fcxp_s *fcxp,
2839 struct bfa_fcxp_s *fcxp,
2848 struct bfa_fcxp_s *fcxp,
2983 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_plogi()
3095 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gmal()
3139 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gmal() local
3143 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gmal()
3145 if (!fcxp) { in bfa_fcs_lport_ms_send_gmal()
3150 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gmal()
3152 len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gmal()
3156 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3165 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gmal_response() argument
3190 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gmal_response()
3296 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gfn()
3340 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_gfn() local
3344 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_gfn()
3346 if (!fcxp) { in bfa_fcs_lport_ms_send_gfn()
3351 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gfn()
3353 len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_gfn()
3357 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3366 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_gfn_response() argument
3387 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gfn_response()
3417 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ms_send_plogi() local
3421 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ms_send_plogi()
3423 if (!fcxp) { in bfa_fcs_lport_ms_send_plogi()
3429 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_plogi()
3431 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ms_send_plogi()
3438 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
3448 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ms_plogi_response() argument
3470 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3486 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_plogi_response()
3582 struct bfa_fcxp_s *fcxp,
3589 struct bfa_fcxp_s *fcxp,
3596 struct bfa_fcxp_s *fcxp,
3603 struct bfa_fcxp_s *fcxp,
3610 struct bfa_fcxp_s *fcxp,
3617 struct bfa_fcxp_s *fcxp,
3624 struct bfa_fcxp_s *fcxp,
3785 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_plogi()
3872 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rnn_id()
3958 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rsnn_nn()
4037 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rspn_id()
4122 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rft_id()
4225 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rff_id()
4306 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_gid_ft()
4382 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_plogi() local
4386 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_plogi()
4388 if (!fcxp) { in bfa_fcs_lport_ns_send_plogi()
4394 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_plogi()
4396 len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_plogi()
4403 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4413 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_plogi_response() argument
4436 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4452 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_plogi_response()
4479 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rnn_id() local
4483 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rnn_id()
4485 if (!fcxp) { in bfa_fcs_lport_ns_send_rnn_id()
4492 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rnn_id()
4494 len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rnn_id()
4499 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4509 bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rnn_id_response() argument
4531 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rnn_id_response()
4556 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rsnn_nn() local
4561 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rsnn_nn()
4563 if (!fcxp) { in bfa_fcs_lport_ns_send_rsnn_nn()
4569 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rsnn_nn()
4574 len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rsnn_nn()
4578 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4589 bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rsnn_nn_response() argument
4610 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rsnn_nn_response()
4635 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rspn_id() local
4643 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rspn_id()
4645 if (!fcxp) { in bfa_fcs_lport_ns_send_rspn_id()
4651 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rspn_id()
4673 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rspn_id()
4676 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4687 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rspn_id_response() argument
4708 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rspn_id_response()
4733 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rft_id() local
4737 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rft_id()
4739 if (!fcxp) { in bfa_fcs_lport_ns_send_rft_id()
4745 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rft_id()
4747 len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rft_id()
4750 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4760 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rft_id_response() argument
4781 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rft_id_response()
4806 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_rff_id() local
4811 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_rff_id()
4813 if (!fcxp) { in bfa_fcs_lport_ns_send_rff_id()
4819 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rff_id()
4824 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_rff_id()
4828 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4838 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_rff_id_response() argument
4859 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rff_id_response()
4891 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_send_gid_ft() local
4895 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_send_gid_ft()
4897 if (!fcxp) { in bfa_fcs_lport_ns_send_gid_ft()
4903 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_gid_ft()
4908 len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_send_gid_ft()
4911 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
4922 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_ns_gid_ft_response() argument
4954 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_gid_ft_response()
5158 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_ns_util_send_rspn_id() local
5173 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_ns_util_send_rspn_id()
5175 if (!fcxp) { in bfa_fcs_lport_ns_util_send_rspn_id()
5182 ns->fcxp = fcxp; in bfa_fcs_lport_ns_util_send_rspn_id()
5198 len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_ns_util_send_rspn_id()
5201 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5220 struct bfa_fcxp_s *fcxp,
5318 bfa_fcxp_discard(scn->fcxp); in bfa_fcs_lport_scn_sm_scr()
5376 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_scr() local
5381 fcxp = fcxp_alloced ? fcxp_alloced : in bfa_fcs_lport_scn_send_scr()
5383 if (!fcxp) { in bfa_fcs_lport_scn_send_scr()
5388 scn->fcxp = fcxp; in bfa_fcs_lport_scn_send_scr()
5392 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5396 len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_scr()
5401 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5410 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, in bfa_fcs_lport_scn_scr_response() argument
5430 els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5440 ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_scn_scr_response()
5461 struct bfa_fcxp_s *fcxp; in bfa_fcs_lport_scn_send_ls_acc() local
5467 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5468 if (!fcxp) in bfa_fcs_lport_scn_send_ls_acc()
5471 len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_lport_scn_send_ls_acc()
5475 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()