Lines Matching refs:send_req

104 				struct bfi_fcxp_send_req_s *send_req);
776 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_qresume() local
779 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_qresume()
780 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_qresume()
787 bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, struct bfi_fcxp_send_req_s *send_req) in bfa_fcxp_queue() argument
794 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ, in bfa_fcxp_queue()
797 send_req->fcxp_tag = cpu_to_be16(fcxp->fcxp_tag); in bfa_fcxp_queue()
799 send_req->rport_fw_hndl = rport->fw_handle; in bfa_fcxp_queue()
800 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz); in bfa_fcxp_queue()
801 if (send_req->max_frmsz == 0) in bfa_fcxp_queue()
802 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
804 send_req->rport_fw_hndl = 0; in bfa_fcxp_queue()
805 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
808 send_req->vf_id = cpu_to_be16(reqi->vf_id); in bfa_fcxp_queue()
809 send_req->lp_fwtag = bfa_lps_get_fwtag(bfa, reqi->lp_tag); in bfa_fcxp_queue()
810 send_req->class = reqi->class; in bfa_fcxp_queue()
811 send_req->rsp_timeout = rspi->rsp_timeout; in bfa_fcxp_queue()
812 send_req->cts = reqi->cts; in bfa_fcxp_queue()
813 send_req->fchs = reqi->fchs; in bfa_fcxp_queue()
815 send_req->req_len = cpu_to_be32(reqi->req_tot_len); in bfa_fcxp_queue()
816 send_req->rsp_maxlen = cpu_to_be32(rspi->rsp_maxlen); in bfa_fcxp_queue()
822 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
827 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
831 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
841 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
846 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
851 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
857 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue()
1007 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_send() local
1029 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_send()
1030 if (!send_req) { in bfa_fcxp_send()
1037 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_send()