diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index c994a916a58a..0095acc0fbbe 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h | |||
@@ -235,6 +235,7 @@ static inline void ipoib_put_ah(struct ipoib_ah *ah) | |||
235 | kref_put(&ah->ref, ipoib_free_ah); | 235 | kref_put(&ah->ref, ipoib_free_ah); |
236 | } | 236 | } |
237 | 237 | ||
238 | int ipoib_open(struct net_device *dev); | ||
238 | int ipoib_add_pkey_attr(struct net_device *dev); | 239 | int ipoib_add_pkey_attr(struct net_device *dev); |
239 | 240 | ||
240 | void ipoib_send(struct net_device *dev, struct sk_buff *skb, | 241 | void ipoib_send(struct net_device *dev, struct sk_buff *skb, |
@@ -267,6 +268,7 @@ int ipoib_mcast_stop_thread(struct net_device *dev, int flush); | |||
267 | void ipoib_mcast_dev_down(struct net_device *dev); | 268 | void ipoib_mcast_dev_down(struct net_device *dev); |
268 | void ipoib_mcast_dev_flush(struct net_device *dev); | 269 | void ipoib_mcast_dev_flush(struct net_device *dev); |
269 | 270 | ||
271 | #ifdef CONFIG_INFINIBAND_IPOIB_DEBUG | ||
270 | struct ipoib_mcast_iter *ipoib_mcast_iter_init(struct net_device *dev); | 272 | struct ipoib_mcast_iter *ipoib_mcast_iter_init(struct net_device *dev); |
271 | void ipoib_mcast_iter_free(struct ipoib_mcast_iter *iter); | 273 | void ipoib_mcast_iter_free(struct ipoib_mcast_iter *iter); |
272 | int ipoib_mcast_iter_next(struct ipoib_mcast_iter *iter); | 274 | int ipoib_mcast_iter_next(struct ipoib_mcast_iter *iter); |
@@ -276,6 +278,7 @@ void ipoib_mcast_iter_read(struct ipoib_mcast_iter *iter, | |||
276 | unsigned int *queuelen, | 278 | unsigned int *queuelen, |
277 | unsigned int *complete, | 279 | unsigned int *complete, |
278 | unsigned int *send_only); | 280 | unsigned int *send_only); |
281 | #endif | ||
279 | 282 | ||
280 | int ipoib_mcast_attach(struct net_device *dev, u16 mlid, | 283 | int ipoib_mcast_attach(struct net_device *dev, u16 mlid, |
281 | union ib_gid *mgid); | 284 | union ib_gid *mgid); |