summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2019-02-21 03:20:53 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-03-25 21:42:12 +0300
commitf254ba6ae5474cb3f1c1863b102368483963e858 (patch)
tree164be7c8a646a25c5a1ef7dc750fe6dae7fbf89d /drivers/infiniband/hw/cxgb4/iw_cxgb4.h
parent7a268a93973c07f93e952d96c2faa88df8ed38d8 (diff)
downloadlinux-f254ba6ae5474cb3f1c1863b102368483963e858.tar.xz
cxgb4: Convert hwtid_idr to XArray
Signed-off-by: Matthew Wilcox <willy@infradead.org> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r--drivers/infiniband/hw/cxgb4/iw_cxgb4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
index 7dffb68092fc..bba03fadb86b 100644
--- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
+++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
@@ -322,7 +322,7 @@ struct c4iw_dev {
struct mutex db_mutex;
struct dentry *debugfs_root;
enum db_state db_state;
- struct idr hwtid_idr;
+ struct xarray hwtids;
struct idr atid_idr;
struct idr stid_idr;
struct list_head db_fc_list;