IB/mlx5: Clear out struct before create QP command
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 14 Jan 2014 15:45:14 +0000 (17:45 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:23:46 +0000 (23:23 -0800)
commit0b6e81b91070bdbe0defb9101384ebb26835e401
treec2df5712a73ca015043dc54c33a41e9f19ab9d46
parente08a8761d89b7625144c3fbf0ff9643159135c96
IB/mlx5: Clear out struct before create QP command

Output structs are expected by firmware to be cleared when a command is called.
Clear the "out" struct instead of "dout" which is used only later.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/qp.c