Searched refs:regd_buf (Results 1 – 2 of 2) sorted by relevance
51 struct iser_regd_buf *regd_buf; in iser_prepare_read_cmd() local76 regd_buf = &iser_task->rdma_regd[ISER_DIR_IN]; in iser_prepare_read_cmd()79 hdr->read_stag = cpu_to_be32(regd_buf->reg.rkey); in iser_prepare_read_cmd()80 hdr->read_va = cpu_to_be64(regd_buf->reg.va); in iser_prepare_read_cmd()83 task->itt, regd_buf->reg.rkey, in iser_prepare_read_cmd()84 (unsigned long long)regd_buf->reg.va); in iser_prepare_read_cmd()100 struct iser_regd_buf *regd_buf; in iser_prepare_write_cmd() local127 regd_buf = &iser_task->rdma_regd[ISER_DIR_OUT]; in iser_prepare_write_cmd()131 hdr->write_stag = cpu_to_be32(regd_buf->reg.rkey); in iser_prepare_write_cmd()132 hdr->write_va = cpu_to_be64(regd_buf->reg.va + unsol_sz); in iser_prepare_write_cmd()[all …]
363 struct iser_regd_buf *regd_buf; in iser_reg_rdma_mem() local369 regd_buf = &iser_task->rdma_regd[cmd_dir]; in iser_reg_rdma_mem()392 regd_buf->reg.lkey = device->mr->lkey; in iser_reg_rdma_mem()393 regd_buf->reg.rkey = device->mr->rkey; in iser_reg_rdma_mem()394 regd_buf->reg.len = ib_sg_dma_len(ibdev, &sg[0]); in iser_reg_rdma_mem()395 regd_buf->reg.va = ib_sg_dma_address(ibdev, &sg[0]); in iser_reg_rdma_mem()396 regd_buf->reg.is_fmr = 0; in iser_reg_rdma_mem()400 (unsigned int)regd_buf->reg.lkey, in iser_reg_rdma_mem()401 (unsigned int)regd_buf->reg.rkey, in iser_reg_rdma_mem()402 (unsigned long)regd_buf->reg.va, in iser_reg_rdma_mem()[all …]