IB/mthca: Factor out setting WQE remote address and atomic segment entries
authorRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 19:55:42 +0000 (12:55 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 19:55:42 +0000 (12:55 -0700)
commit400ddc11eb01a8d04c580892fde3adbd45ebdc9e
treed2056196297d40238318421a342379762d0dfd22
parent0fbfa6a9062c71b62ec216c0294b676b76e41661
IB/mthca: Factor out setting WQE remote address and atomic segment entries

Factor code to set remote address and atomic segment entries out of the
work request posting functions into inline functions set_raddr_seg()
and set_atomic_seg().  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/mthca/mthca_qp.c