linux/drivers/infiniband/ulp/iser
Erez Zilber 8dfa0876d3 IB/iser: make FMR "page size" be 4K and not PAGE_SIZE
As iser is able to use at most one rdma operation for the
execution of a scsi command, and registration of the sg
associated with scsi command has its restrictions, the code
checks if an sg is "aligned for rdma".

Alignment for rdma is measured in "fmr page" units whose
possible resolutions are different between HCAs and can be
smaller, equal or bigger to the system page size.

When the system page size is bigger than 4KB (eg the default
with ia64 kernels) there a bigger chance that an sg would be
aligned for rdma if the fmr page size is 4KB.

Change the code to create FMR whose pages are of size 4KB
and to take that into account when processing the sg.

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-09-22 15:22:51 -07:00
..
iscsi_iser.c IB/iser: Limit the max size of a scsi command 2006-09-22 15:22:50 -07:00
iscsi_iser.h IB/iser: make FMR "page size" be 4K and not PAGE_SIZE 2006-09-22 15:22:51 -07:00
iser_initiator.c IB/iser: iSER initiator iSCSI PDU and TX/RX 2006-06-22 07:51:09 -07:00
iser_memory.c IB/iser: make FMR "page size" be 4K and not PAGE_SIZE 2006-09-22 15:22:51 -07:00
iser_verbs.c IB/iser: make FMR "page size" be 4K and not PAGE_SIZE 2006-09-22 15:22:51 -07:00
Kconfig IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00