diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 285c143115cc..35f3ca42bd60 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h | |||
@@ -228,6 +228,8 @@ struct ipoib_dev_priv { | |||
228 | 228 | ||
229 | struct net_device *dev; | 229 | struct net_device *dev; |
230 | 230 | ||
231 | struct napi_struct napi; | ||
232 | |||
231 | unsigned long flags; | 233 | unsigned long flags; |
232 | 234 | ||
233 | struct mutex mcast_mutex; | 235 | struct mutex mcast_mutex; |
@@ -351,7 +353,7 @@ extern struct workqueue_struct *ipoib_workqueue; | |||
351 | 353 | ||
352 | /* functions */ | 354 | /* functions */ |
353 | 355 | ||
354 | int ipoib_poll(struct net_device *dev, int *budget); | 356 | int ipoib_poll(struct napi_struct *napi, int budget); |
355 | void ipoib_ib_completion(struct ib_cq *cq, void *dev_ptr); | 357 | void ipoib_ib_completion(struct ib_cq *cq, void *dev_ptr); |
356 | 358 | ||
357 | struct ipoib_ah *ipoib_create_ah(struct net_device *dev, | 359 | struct ipoib_ah *ipoib_create_ah(struct net_device *dev, |