2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 10:13:58 +08:00
linux-next/drivers/infiniband/ulp
Mike Marciniszyn e7d80c8304 IB/iser: Handle lack of memory management extentions correctly
max_fast_reg_page_list_len is only valid when the
memory management extentions are signaled by the underlying
driver.

Fix by adjusting iser_calc_scsi_params() to use
ISCSI_ISER_MAX_SG_TABLESIZE when the extentions are not indicated.

Reported-by: Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
Fixes: Commit df749cdc45 ("IB/iser: Support up to 8MB data transfer in a single command")
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-11 10:47:16 -04:00
..
ipoib IB/core, opa_vnic, hfi1, mlx5: Properly free rdma_netdev 2017-07-05 17:11:00 -04:00
iser IB/iser: Handle lack of memory management extentions correctly 2017-07-11 10:47:16 -04:00
isert iser-target: avoid posting a recv buffer twice 2017-03-30 20:35:50 -07:00
opa_vnic IB/core, opa_vnic, hfi1, mlx5: Properly free rdma_netdev 2017-07-05 17:11:00 -04:00
srp RDMA/SA: Fix kernel panic in CMA request handler flow 2017-06-01 17:20:14 -04:00
srpt Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2017-05-12 11:44:13 -07:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00