summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/eq.c
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2013-10-23 06:53:18 (GMT)
committerRoland Dreier <roland@purestorage.com>2013-11-08 22:43:00 (GMT)
commit952f5f6e807ba82e1b82fcfcf7f73db022342aa7 (patch)
tree75651d8c239a0957981a7e395c0d155d4cc89d45 /drivers/net/ethernet/mellanox/mlx5/core/eq.c
parentcfd8f1d49b61b20aab77d5af5ec907dc99bb0064 (diff)
downloadlinux-952f5f6e807ba82e1b82fcfcf7f73db022342aa7.tar.xz
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/net/ethernet/mellanox/mlx5/core/eq.c')
0 files changed, 0 insertions, 0 deletions