]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: Fix srqs xarray initialization
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 27 Oct 2019 20:04:48 +0000 (22:04 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 28 Oct 2019 17:01:27 +0000 (14:01 -0300)
commit02e8d457e3e25ed00abaff6d5d20a1ebf9ec01c1
treedc2f599b14f0c1fb31b6f9aa57676076b4a84fab
parent386a16a1a60f296368a9c23b56cb80b044031eb9
RDMA/qedr: Fix srqs xarray initialization

There was a missing initialization for the srqs xarray.
SRQs xarray can also be called from irq context when searching
for an element and uses the xa_XXX_irq apis, therefore should
be initialized with IRQ flags.

Fixes: a6df8af08145 ("qedr: Convert srqidr to XArray")
Link: https://lore.kernel.org/r/20191027200451.28187-2-michal.kalderon@marvell.com
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qedr/main.c