diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2005-10-29 07:39:42 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-29 07:39:42 -0700 |
commit | affcd50546d4788b7849e2b2e2ec7bc50d64c5f8 (patch) | |
tree | e4e6a0f5f2203569b6ada4c101a146c3a4f24c28 /drivers/infiniband/hw/mthca/mthca_dev.h | |
parent | 89fbb69c4f285019ba5e029963dc11cc6beb078a (diff) | |
download | blackbird-op-linux-affcd50546d4788b7849e2b2e2ec7bc50d64c5f8.tar.gz blackbird-op-linux-affcd50546d4788b7849e2b2e2ec7bc50d64c5f8.zip |
[IB] mthca: report asynchronous CQ events
Implement reporting asynchronous CQ events in Mellanox HCA driver.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_dev.h')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_dev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_dev.h b/drivers/infiniband/hw/mthca/mthca_dev.h index 7e68bd4a3780..e7e5d3b4f004 100644 --- a/drivers/infiniband/hw/mthca/mthca_dev.h +++ b/drivers/infiniband/hw/mthca/mthca_dev.h @@ -460,7 +460,9 @@ int mthca_init_cq(struct mthca_dev *dev, int nent, struct mthca_cq *cq); void mthca_free_cq(struct mthca_dev *dev, struct mthca_cq *cq); -void mthca_cq_event(struct mthca_dev *dev, u32 cqn); +void mthca_cq_completion(struct mthca_dev *dev, u32 cqn); +void mthca_cq_event(struct mthca_dev *dev, u32 cqn, + enum ib_event_type event_type); void mthca_cq_clean(struct mthca_dev *dev, u32 cqn, u32 qpn, struct mthca_srq *srq); |