diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index 8a40cd539ab1..f24b79b805f2 100644 --- a/drivers/infiniband/hw/mthca/mthca_main.c +++ b/drivers/infiniband/hw/mthca/mthca_main.c | |||
@@ -1043,6 +1043,9 @@ static int __mthca_init_one(struct pci_dev *pdev, int hca_type) | |||
1043 | } | 1043 | } |
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | /* We can handle large RDMA requests, so allow larger segments. */ | ||
1047 | dma_set_max_seg_size(&pdev->dev, 1024 * 1024 * 1024); | ||
1048 | |||
1046 | mdev = (struct mthca_dev *) ib_alloc_device(sizeof *mdev); | 1049 | mdev = (struct mthca_dev *) ib_alloc_device(sizeof *mdev); |
1047 | if (!mdev) { | 1050 | if (!mdev) { |
1048 | dev_err(&pdev->dev, "Device struct alloc failed, " | 1051 | dev_err(&pdev->dev, "Device struct alloc failed, " |