summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-05-07 06:05:32 +0200
committerRoland Dreier <rolandd@cisco.com>2007-05-07 06:18:11 +0200
commit8d1cc86a6278687efbab7b8c294ab01efe4d4231 (patch)
tree6bbbb23fd44c08b709275a2918d937c27850bb23 /drivers/infiniband/ulp/ipoib/ipoib.h
parentIB: Return "maybe missed event" hint from ib_req_notify_cq() (diff)
downloadlinux-8d1cc86a6278687efbab7b8c294ab01efe4d4231.tar.xz
linux-8d1cc86a6278687efbab7b8c294ab01efe4d4231.zip
IPoIB: Convert to NAPI
Convert the IP-over-InfiniBand network device driver over to using NAPI to handle completions for the main CQ. This covers all receives as well as datagram mode sends; send completions for connected mode connections are still handled from interrupt context. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
index fd558267d1cb..15867af33c44 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -311,6 +311,7 @@ extern struct workqueue_struct *ipoib_workqueue;
/* functions */
+int ipoib_poll(struct net_device *dev, int *budget);
void ipoib_ib_completion(struct ib_cq *cq, void *dev_ptr);
struct ipoib_ah *ipoib_create_ah(struct net_device *dev,