summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2014-01-14 17:45:21 +0200
committerRoland Dreier <roland@purestorage.com>2014-01-22 23:23:53 -0800
commit9e9c47d07d447e09a66ee528c3ebad9ba359af6a (patch)
treeb3bd156928143fe3260c58c550854d1cb716d656 /drivers/net/ethernet/mellanox/mlx5
parent05bdb2ab6b09f2306f0afe0f60f4b9abffa7aba4 (diff)
IB/mlx5: Allow creation of QPs with zero-length work queues
The current code attmepts to call ib_umem_get() even if the length is zero, which causes a failure. Since the spec allows zero length work queues, change the code so we don't call ib_umem_get() in those cases. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5')
0 files changed, 0 insertions, 0 deletions