commit | 952f5f6e807ba82e1b82fcfcf7f73db022342aa7 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@dev.mellanox.co.il> | Wed Oct 23 09:53:18 2013 +0300 |
committer | Roland Dreier <roland@purestorage.com> | Fri Nov 08 14:43:00 2013 -0800 |
tree | 75651d8c239a0957981a7e395c0d155d4cc89d45 | |
parent | cfd8f1d49b61b20aab77d5af5ec907dc99bb0064 [diff] |
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>