]> git.baikalelectronics.ru Git - kernel.git/commit
mlx5: Convert mlx5_srq_table to XArray
authorMatthew Wilcox <willy@infradead.org>
Thu, 21 Feb 2019 00:20:37 +0000 (16:20 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 26 Mar 2019 12:39:42 +0000 (09:39 -0300)
commitd98d9b6726273825fbfe5f1006e3bfbe63b3adfc
tree8c565f6c36ad0db1e4bdf8b3cb46c98d5523bb93
parentbee3c88c3117df6755062b3b07f7cabcdc65b6fa
mlx5: Convert mlx5_srq_table to XArray

Remove the custom spinlock as the XArray handles its own locking.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/srq.h
drivers/infiniband/hw/mlx5/srq_cmd.c