IB/mlx4: Factor out setting other WQE segments
authorRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 18:47:55 +0000 (11:47 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 18:47:55 +0000 (11:47 -0700)
commit0fbfa6a9062c71b62ec216c0294b676b76e41661
treec249dfa059fe5c01ef2f892b3e68ddd5f29442b8
parentd420d9e32f4bd741b2f0b7227a91941107f96b47
IB/mlx4: Factor out setting other WQE segments

Factor code to set remote address, atomic and datagram segments out of
mlx4_ib_post_send() into small helper functions.  This doesn't change
the generated code in any significant way, and makes the source easier
on the eyes.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c