IB/mthca: Factor out setting WQE UD segment entries
authorRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 20:21:14 +0000 (13:21 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 20:21:14 +0000 (13:21 -0700)
commite535c699bfeafd0380418156f93494e370613e9d
treee1f403e6219b4248cfd6735dd6b57cabe19eeefb
parent400ddc11eb01a8d04c580892fde3adbd45ebdc9e
IB/mthca: Factor out setting WQE UD segment entries

Factor code to set UD entries out of the work request posting
functions into inline functions set_tavor_ud_seg() and
set_arbel_ud_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