Lines Matching refs:send_req
35 struct bfi_fcxp_send_req_s *send_req);
368 struct bfi_fcxp_send_req_s *send_req;
371 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP);
372 bfa_fcxp_queue(fcxp, send_req);
379 bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, struct bfi_fcxp_send_req_s *send_req)
386 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ,
389 send_req->fcxp_tag = bfa_os_htons(fcxp->fcxp_tag);
391 send_req->rport_fw_hndl = rport->fw_handle;
392 send_req->max_frmsz = bfa_os_htons(rport->rport_info.max_frmsz);
393 if (send_req->max_frmsz == 0)
394 send_req->max_frmsz = bfa_os_htons(FC_MAX_PDUSZ);
396 send_req->rport_fw_hndl = 0;
397 send_req->max_frmsz = bfa_os_htons(FC_MAX_PDUSZ);
400 send_req->vf_id = bfa_os_htons(reqi->vf_id);
401 send_req->lp_tag = reqi->lp_tag;
402 send_req->class = reqi->class;
403 send_req->rsp_timeout = rspi->rsp_timeout;
404 send_req->cts = reqi->cts;
405 send_req->fchs = reqi->fchs;
407 send_req->req_len = bfa_os_htonl(reqi->req_tot_len);
408 send_req->rsp_maxlen = bfa_os_htonl(rspi->rsp_maxlen);
414 hal_fcxp_set_local_sges(send_req->req_sge, reqi->req_tot_len,
419 hal_fcxp_set_local_sges(send_req->req_sge,
425 hal_fcxp_set_local_sges(send_req->rsp_sge, 0, 0);
435 hal_fcxp_set_local_sges(send_req->rsp_sge, rspi->rsp_maxlen,
441 hal_fcxp_set_local_sges(send_req->rsp_sge,
447 hal_fcxp_set_local_sges(send_req->rsp_sge, 0, 0);
660 struct bfi_fcxp_send_req_s *send_req;
682 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP);
683 if (!send_req) {
690 bfa_fcxp_queue(fcxp, send_req);