Lines Matching refs:send_req
104 struct bfi_fcxp_send_req_s *send_req);
782 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_qresume() local
785 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_qresume()
786 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_qresume()
793 bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, struct bfi_fcxp_send_req_s *send_req) in bfa_fcxp_queue() argument
800 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ, in bfa_fcxp_queue()
803 send_req->fcxp_tag = cpu_to_be16(fcxp->fcxp_tag); in bfa_fcxp_queue()
805 send_req->rport_fw_hndl = rport->fw_handle; in bfa_fcxp_queue()
806 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz); in bfa_fcxp_queue()
807 if (send_req->max_frmsz == 0) in bfa_fcxp_queue()
808 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
810 send_req->rport_fw_hndl = 0; in bfa_fcxp_queue()
811 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
814 send_req->vf_id = cpu_to_be16(reqi->vf_id); in bfa_fcxp_queue()
815 send_req->lp_fwtag = bfa_lps_get_fwtag(bfa, reqi->lp_tag); in bfa_fcxp_queue()
816 send_req->class = reqi->class; in bfa_fcxp_queue()
817 send_req->rsp_timeout = rspi->rsp_timeout; in bfa_fcxp_queue()
818 send_req->cts = reqi->cts; in bfa_fcxp_queue()
819 send_req->fchs = reqi->fchs; in bfa_fcxp_queue()
821 send_req->req_len = cpu_to_be32(reqi->req_tot_len); in bfa_fcxp_queue()
822 send_req->rsp_maxlen = cpu_to_be32(rspi->rsp_maxlen); in bfa_fcxp_queue()
828 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
833 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
837 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
847 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
852 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
857 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
863 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue()
1013 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_send() local
1035 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_send()
1036 if (!send_req) { in bfa_fcxp_send()
1043 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_send()