aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/srq.c
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2013-10-23 09:53:18 +0300
committerRoland Dreier <roland@purestorage.com>2013-11-08 14:43:00 -0800
commit952f5f6e807ba82e1b82fcfcf7f73db022342aa7 (patch)
tree75651d8c239a0957981a7e395c0d155d4cc89d45 /drivers/infiniband/hw/mlx5/srq.c
parentIB/mlx5: Fix srq free in destroy qp (diff)
downloadlinux-dev-952f5f6e807ba82e1b82fcfcf7f73db022342aa7.tar.xz
linux-dev-952f5f6e807ba82e1b82fcfcf7f73db022342aa7.zip
mlx5: Fix cleanup flow when DMA mapping fails
If DMA mapping fails, the driver cleared the object that holds the previously DMA mapped pages. Fix this by allocating a new object for the command that reports back to firmware that pages can't be supplied. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/srq.c')
0 files changed, 0 insertions, 0 deletions