Lines Matching refs:send_req

74 				struct bfi_fcxp_send_req_s *send_req);
762 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_qresume() local
765 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_qresume()
766 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_qresume()
773 bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, struct bfi_fcxp_send_req_s *send_req) in bfa_fcxp_queue() argument
780 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ, in bfa_fcxp_queue()
783 send_req->fcxp_tag = cpu_to_be16(fcxp->fcxp_tag); in bfa_fcxp_queue()
785 send_req->rport_fw_hndl = rport->fw_handle; in bfa_fcxp_queue()
786 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz); in bfa_fcxp_queue()
787 if (send_req->max_frmsz == 0) in bfa_fcxp_queue()
788 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
790 send_req->rport_fw_hndl = 0; in bfa_fcxp_queue()
791 send_req->max_frmsz = cpu_to_be16(FC_MAX_PDUSZ); in bfa_fcxp_queue()
794 send_req->vf_id = cpu_to_be16(reqi->vf_id); in bfa_fcxp_queue()
795 send_req->lp_fwtag = bfa_lps_get_fwtag(bfa, reqi->lp_tag); in bfa_fcxp_queue()
796 send_req->class = reqi->class; in bfa_fcxp_queue()
797 send_req->rsp_timeout = rspi->rsp_timeout; in bfa_fcxp_queue()
798 send_req->cts = reqi->cts; in bfa_fcxp_queue()
799 send_req->fchs = reqi->fchs; in bfa_fcxp_queue()
801 send_req->req_len = cpu_to_be32(reqi->req_tot_len); in bfa_fcxp_queue()
802 send_req->rsp_maxlen = cpu_to_be32(rspi->rsp_maxlen); in bfa_fcxp_queue()
808 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
813 bfa_alen_set(&send_req->req_alen, reqi->req_tot_len, in bfa_fcxp_queue()
817 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
827 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
832 bfa_alen_set(&send_req->rsp_alen, rspi->rsp_maxlen, in bfa_fcxp_queue()
837 bfa_alen_set(&send_req->rsp_alen, 0, 0); in bfa_fcxp_queue()
843 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue()
985 struct bfi_fcxp_send_req_s *send_req; in bfa_fcxp_send() local
1007 send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); in bfa_fcxp_send()
1008 if (!send_req) { in bfa_fcxp_send()
1015 bfa_fcxp_queue(fcxp, send_req); in bfa_fcxp_send()