diff options
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_verbs.c b/drivers/infiniband/ulp/ipoib/ipoib_verbs.c index 810790ae753..7b8fa36f509 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_verbs.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_verbs.c | |||
@@ -199,7 +199,10 @@ int ipoib_transport_dev_init(struct net_device *dev, struct ib_device *ca) | |||
199 | init_attr.recv_cq = priv->recv_cq; | 199 | init_attr.recv_cq = priv->recv_cq; |
200 | 200 | ||
201 | if (priv->hca_caps & IB_DEVICE_UD_TSO) | 201 | if (priv->hca_caps & IB_DEVICE_UD_TSO) |
202 | init_attr.create_flags = IB_QP_CREATE_IPOIB_UD_LSO; | 202 | init_attr.create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; |
203 | |||
204 | if (priv->hca_caps & IB_DEVICE_BLOCK_MULTICAST_LOOPBACK) | ||
205 | init_attr.create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; | ||
203 | 206 | ||
204 | if (dev->features & NETIF_F_SG) | 207 | if (dev->features & NETIF_F_SG) |
205 | init_attr.cap.max_send_sge = MAX_SKB_FRAGS + 1; | 208 | init_attr.cap.max_send_sge = MAX_SKB_FRAGS + 1; |