linux/drivers/infiniband/ulp/iser
Max Gurtovoy 1e5db6c31a IB/iser: Fix sg_tablesize calculation
For devices that can register page list that is bigger than
USHRT_MAX, we actually take the wrong value for sg_tablesize.
E.g: for CX4 max_fast_reg_page_list_len is 65536 (bigger than USHRT_MAX)
so we set sg_tablesize to 0 by mistake. Therefore, each IO that is
bigger than 4k splitted to "< 4k" chunks that cause performance degredation.
Remove wrong sg_tablesize assignment, and use the value that was set during
address resolution handler with the needed casting.

Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 11:37:45 -05:00
..
iscsi_iser.c IB/iser: Fix sg_tablesize calculation 2017-01-24 11:37:45 -05:00
iscsi_iser.h IB/iser: use IB_PD_UNSAFE_GLOBAL_RKEY 2016-09-23 13:47:44 -04:00
iser_initiator.c IB/iser: Use ib_drain_sq() 2016-02-29 17:10:27 -05:00
iser_memory.c IB/iser: use IB_PD_UNSAFE_GLOBAL_RKEY 2016-09-23 13:47:44 -04:00
iser_verbs.c ib_iser: log the connection reject message 2016-12-14 11:38:28 -05:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile