]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59cd3a8d885e914411e6f27a1bf84d789e47120b
treec249dfa059fe5c01ef2f892b3e68ddd5f29442b8
parentf2b6956ca4b157ae344bfc7588c8c41ff5f0e785
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