linux_dsm_epyc7002/drivers/infiniband
Mike Marciniszyn d2b8d4da1c IB/rdmavt: Support creating qps with GFP_NOIO flag
The current code is problematic when the QP creation and ipoib is
used to support NFS and NFS desires to do IO for paging purposes.
In that case, the GFP_KERNEL allocation within create_qp causes
a deadlock in tight memory situations.

This fix adds support to create queue pair with GFP_NOIO flag for
connected mode only to cleanly fail the create queue pair in those
situations.

This was previously fixed in qib but needed to get ported to hfi1.
This patch handles that for both hardwares in the new rdmavt common
layer.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-10 20:37:20 -05:00
..
core IB/core: Fix reading capability mask of the port info class 2016-02-11 11:05:56 -05:00
hw IB/qib: Remove srq from qib 2016-03-10 20:37:18 -05:00
sw IB/rdmavt: Support creating qps with GFP_NOIO flag 2016-03-10 20:37:20 -05:00
ulp IB/ipoib: fix for rare multicast join race condition 2016-02-12 14:53:22 -05:00
Kconfig IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00