aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 39913a065f99..ef003cc54a43 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -1496,6 +1496,7 @@ static void ipoib_cm_create_srq(struct net_device *dev, int max_sge)
1496{ 1496{
1497 struct ipoib_dev_priv *priv = netdev_priv(dev); 1497 struct ipoib_dev_priv *priv = netdev_priv(dev);
1498 struct ib_srq_init_attr srq_init_attr = { 1498 struct ib_srq_init_attr srq_init_attr = {
1499 .srq_type = IB_SRQT_BASIC,
1499 .attr = { 1500 .attr = {
1500 .max_wr = ipoib_recvq_size, 1501 .max_wr = ipoib_recvq_size,
1501 .max_sge = max_sge 1502 .max_sge = max_sge