]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Convert cq_table to XArray
authorMatthew Wilcox <willy@infradead.org>
Thu, 21 Feb 2019 00:20:39 +0000 (16:20 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 29 Mar 2019 17:40:40 +0000 (14:40 -0300)
commitfde952088297df2d131f734be6140a6d41ad637f
treece3c464df852176a086056e7bd2d8e60a2acc43f
parente50c79bd5a4704498c22f5a9e6ee83e582ce30f4
RDMA/hns: Convert cq_table to XArray

Change the locking to not disable interrupts as the lookup in interrupt
context will not see a freed CQ, thanks to the synchronize_irq() call
before freeing the CQ.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h