projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
841dba9
)
RDMA/cxgb4: Don't limit fastreg page list depth
author
Steve Wise
<swise@opengridcomputing.com>
Thu, 20 May 2010 21:57:59 +0000
(16:57 -0500)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 25 May 2010 04:08:03 +0000
(21:08 -0700)
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/mem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/mem.c
b/drivers/infiniband/hw/cxgb4/mem.c
index 993ed1fe7bf6868a6e49724965c97a349c86cef4..7f94da1a2437ef9a3fc8fce75d717fe9ae4042f4 100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/mem.c
+++ b/
drivers/infiniband/hw/cxgb4/mem.c
@@
-759,9
+759,6
@@
struct ib_fast_reg_page_list *c4iw_alloc_fastreg_pbl(struct ib_device *device,
dma_addr_t dma_addr;
int size = sizeof *c4pl + page_list_len * sizeof(u64);
- if (page_list_len > T4_MAX_FR_DEPTH)
- return ERR_PTR(-EINVAL);
-
c4pl = dma_alloc_coherent(&dev->rdev.lldi.pdev->dev, size,
&dma_addr, GFP_KERNEL);
if (!c4pl)