Lines Matching refs:ib_req
803 struct srp_login_req ib_req; in srp_send_req() member
823 req->ib_req.opcode = SRP_LOGIN_REQ; in srp_send_req()
824 req->ib_req.tag = 0; in srp_send_req()
825 req->ib_req.req_it_iu_len = cpu_to_be32(max_iu_len); in srp_send_req()
826 req->ib_req.req_buf_fmt = cpu_to_be16(SRP_BUF_FORMAT_DIRECT | in srp_send_req()
828 req->ib_req.req_flags = (multich ? SRP_MULTICHAN_MULTI : in srp_send_req()
831 req->ib_req.req_flags |= SRP_IMMED_REQUESTED; in srp_send_req()
832 req->ib_req.imm_data_offset = cpu_to_be16(SRP_IMM_DATA_OFFSET); in srp_send_req()
845 req->rdma_req.opcode = req->ib_req.opcode; in srp_send_req()
846 req->rdma_req.tag = req->ib_req.tag; in srp_send_req()
847 req->rdma_req.req_it_iu_len = req->ib_req.req_it_iu_len; in srp_send_req()
848 req->rdma_req.req_buf_fmt = req->ib_req.req_buf_fmt; in srp_send_req()
849 req->rdma_req.req_flags = req->ib_req.req_flags; in srp_send_req()
850 req->rdma_req.imm_data_offset = req->ib_req.imm_data_offset; in srp_send_req()
868 req->ib_param.private_data = &req->ib_req; in srp_send_req()
869 req->ib_param.private_data_len = sizeof(req->ib_req); in srp_send_req()
871 ipi = req->ib_req.initiator_port_id; in srp_send_req()
872 tpi = req->ib_req.target_port_id; in srp_send_req()