IB/mlx5: Break up wqe handling into begin & finish routines
authorSagi Grimberg <sagig@mellanox.com>
Sun, 23 Feb 2014 12:19:08 +0000 (14:19 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 7 Mar 2014 19:26:49 +0000 (11:26 -0800)
commit6e5eadace1da7c57c1f10d55a484bda13c86dfed
treecc3bafc4cb62429c6ad466899ea42501d36b6b19
parente1e66cc26457c2e9412f67618646ec2a441fc409
IB/mlx5: Break up wqe handling into begin & finish routines

As a preliminary step for signature feature which will require posting
multiple (3) WQEs for a single WR, we break post_send routine WQE
indexing into begin and finish routines.

This patch does not change any functionality.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c