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