RDMA/cxgb4: Limit MRs to < 8GB for T4/T5 devices
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 21 Nov 2014 15:36:36 +0000 (09:36 -0600)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:10:46 +0000 (18:10 -0800)
commit2550a88d956fb77c34d71b46a0a8e9ebf1c5b4a3
tree6d2aa56589f7f2ddd4bd2d5f8e3adb8d682a5e6a
parent10be6b48fd870f1076f746d614deed6b9d21ce2a
RDMA/cxgb4: Limit MRs to < 8GB for T4/T5 devices

T4/T5 hardware can't handle MRs >= 8GB due to a hardware bug.  So limit
registrations to < 8GB for thse devices.

Based on original work by Steve Wise <swise@opengridcomputing.com>.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/mem.c