IB/mad: use CQ abstraction
authorChristoph Hellwig <hch@infradead.org>
Wed, 6 Jan 2016 06:46:12 +0000 (22:46 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:25:45 +0000 (15:25 -0500)
commitd53e11fdf0538a972ad4f1e5ec315d3e35c1aae9
treea25da9bb88341ee0b1ac164c57c56bd3ec9a6e06
parentca281265c02f342fed4927b4e98e377d9318881f
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>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h