diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 381f51b2ed61..ac48f86f2384 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h | |||
@@ -266,7 +266,10 @@ struct ipoib_ethtool_st { | |||
266 | u16 max_coalesced_frames; | 266 | u16 max_coalesced_frames; |
267 | }; | 267 | }; |
268 | 268 | ||
269 | struct ipoib_neigh_table; | ||
270 | |||
269 | struct ipoib_neigh_hash { | 271 | struct ipoib_neigh_hash { |
272 | struct ipoib_neigh_table *ntbl; | ||
270 | struct ipoib_neigh __rcu **buckets; | 273 | struct ipoib_neigh __rcu **buckets; |
271 | struct rcu_head rcu; | 274 | struct rcu_head rcu; |
272 | u32 mask; | 275 | u32 mask; |
@@ -275,9 +278,9 @@ struct ipoib_neigh_hash { | |||
275 | 278 | ||
276 | struct ipoib_neigh_table { | 279 | struct ipoib_neigh_table { |
277 | struct ipoib_neigh_hash __rcu *htbl; | 280 | struct ipoib_neigh_hash __rcu *htbl; |
278 | rwlock_t rwlock; | ||
279 | atomic_t entries; | 281 | atomic_t entries; |
280 | struct completion flushed; | 282 | struct completion flushed; |
283 | struct completion deleted; | ||
281 | }; | 284 | }; |
282 | 285 | ||
283 | /* | 286 | /* |