OrangePi_CM5/include/linux/mlx5
Shay Drory 303ba011f5 net/mlx5: Synchronize correct IRQ when destroying CQ
[ Upstream commit 563476ae0c5e48a028cbfa38fa9d2fc0418eb88f ]

The CQ destroy is performed based on the IRQ number that is stored in
cq->irqn. That number wasn't set explicitly during CQ creation and as
expected some of the API users of mlx5_core_create_cq() forgot to update
it.

This caused to wrong synchronization call of the wrong IRQ with a number
0 instead of the real one.

As a fix, set the IRQ number directly in the mlx5_core_create_cq() and
update all users accordingly.

Fixes: 1a86b377aa ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Fixes: ef1659ade3 ("IB/mlx5: Add DEVX support for CQ events")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-18 08:59:11 +02:00
..
accel.h
…
cq.h
…
device.h
…
doorbell.h
…
driver.h net/mlx5: Synchronize correct IRQ when destroying CQ 2021-08-18 08:59:11 +02:00
eq.h
…
eswitch.h
…
fs.h
…
fs_helpers.h
…
mlx5_ifc.h net/mlx5: DR, Create multi-destination flow table with level less than 64 2021-06-10 13:39:18 +02:00
mlx5_ifc_fpga.h
…
mpfs.h {net,vdpa}/mlx5: Configure interface MAC into mpfs L2 table 2021-06-03 09:00:36 +02:00
port.h
…
qp.h
…
rsc_dump.h
…
transobj.h net/mlx5e: Fix page reclaim for dead peer hairpin 2021-06-23 14:42:43 +02:00
vport.h
…