Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101034
b: refs/heads/master
c: 1240673
h: refs/heads/master
v: v3
  • Loading branch information
Ron Livne authored and Roland Dreier committed Jul 15, 2008
1 parent 8ff79d8 commit b78b63a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 521e575b9a7324a0bca762622139f69582a042bf
refs/heads/master: 12406734051a26e9fe4c8568e931dfddbb72d431
5 changes: 4 additions & 1 deletion trunk/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ int ipoib_transport_dev_init(struct net_device *dev, struct ib_device *ca)
init_attr.recv_cq = priv->recv_cq;

if (priv->hca_caps & IB_DEVICE_UD_TSO)
init_attr.create_flags = IB_QP_CREATE_IPOIB_UD_LSO;
init_attr.create_flags |= IB_QP_CREATE_IPOIB_UD_LSO;

if (priv->hca_caps & IB_DEVICE_BLOCK_MULTICAST_LOOPBACK)
init_attr.create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK;

if (dev->features & NETIF_F_SG)
init_attr.cap.max_send_sge = MAX_SKB_FRAGS + 1;
Expand Down

0 comments on commit b78b63a

Please sign in to comment.