[openib-general] [PATCH 5/5] IB/iser: Do not use FMR for a single dma entry sg
Erez Zilber
erezz at voltaire.com
Mon Sep 11 08:19:57 PDT 2006
Roland Dreier wrote:
> Thanks, applied 1-5 with this minor fix for a compile warning:
>
> --- a/drivers/infiniband/ulp/iser/iser_memory.c
> +++ b/drivers/infiniband/ulp/iser/iser_memory.c
> @@ -427,9 +427,9 @@ int iser_reg_rdma_mem(struct iscsi_iser_
> iser_err("page_vec: data_size = 0x%x, length = %d, offset = 0x%x\n",
> ib_conn->page_vec->data_size, ib_conn->page_vec->length,
> ib_conn->page_vec->offset);
> - for (i=0 ; i<ib_conn->page_vec->length ; i++) {
> - iser_err("page_vec[%d] = 0x%lx\n", i, ib_conn->page_vec->pages[i]);
> - }
> + for (i=0 ; i<ib_conn->page_vec->length ; i++)
> + iser_err("page_vec[%d] = 0x%llx\n", i,
> + (unsigned long long) ib_conn->page_vec->pages[i]);
> return err;
> }
> }
>
OK, thanks.
More information about the general
mailing list