On 2/25/2012 9:36 PM, Doug Ledford wrote:
@@ -274,6 +274,18 @@ static int iser_free_ib_conn_res(struct iser_conn
*ib_conn, int can_destroy_id)
ib_conn->cma_id = NULL;
kfree(ib_conn->page_vec);
+ if (ib_conn->login_buf) {
+ if (ib_conn->login_req_dma)
+ ib_dma_unmap_single(device->ib_device,
+ ib_conn->login_req_dma,
+ ISCSI_DEF_MAX_RECV_SEG_LEN, DMA_TO_DEVICE);
Doug, this failed to build against 3.3-rc5, I will fix and repost with
you being the author
Or.
CC [M] drivers/infiniband/ulp/iser/iser_verbs.o
drivers/infiniband/ulp/iser/iser_verbs.c: In function
iser_free_ib_conn_res:
drivers/infiniband/ulp/iser/iser_verbs.c:279: error: device undeclared
(first use in this function)
drivers/infiniband/ulp/iser/iser_verbs.c:279: error: (Each undeclared
identifier is reported only once
drivers/infiniband/ulp/iser/iser_verbs.c:279: error: for each function
it appears in.)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html