]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8654610ed71070e80c4b5848d0b1d06e06771d13
treed2056196297d40238318421a342379762d0dfd22
parent59cd3a8d885e914411e6f27a1bf84d789e47120b
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