diff options
author | Christoph Hellwig <hch@infradead.org> | 2016-01-05 22:46:12 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 15:25:45 -0500 |
commit | d53e11fdf0538a972ad4f1e5ec315d3e35c1aae9 (patch) | |
tree | a25da9bb88341ee0b1ac164c57c56bd3ec9a6e06 /drivers/infiniband/core/mad_priv.h | |
parent | IB/mad: pass ib_mad_send_buf explicitly to the recv_handler (diff) | |
download | linux-dev-d53e11fdf0538a972ad4f1e5ec315d3e35c1aae9.tar.xz linux-dev-d53e11fdf0538a972ad4f1e5ec315d3e35c1aae9.zip |
IB/mad: use CQ abstraction
Remove the local workqueue to process mad completions and use the CQ API
instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/mad_priv.h')
-rw-r--r-- | drivers/infiniband/core/mad_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/mad_priv.h b/drivers/infiniband/core/mad_priv.h index 990698a6ab4b..28669f6419e1 100644 --- a/drivers/infiniband/core/mad_priv.h +++ b/drivers/infiniband/core/mad_priv.h @@ -64,6 +64,7 @@ struct ib_mad_list_head { struct list_head list; + struct ib_cqe cqe; struct ib_mad_queue *mad_queue; }; @@ -204,7 +205,6 @@ struct ib_mad_port_private { struct ib_mad_mgmt_version_table version[MAX_MGMT_VERSION]; struct list_head agent_list; struct workqueue_struct *wq; - struct work_struct work; struct ib_mad_qp_info qp_info[IB_MAD_QPS_CORE]; }; |