kernel-ark/drivers/infiniband/hw
Roland Dreier f438000f7a IB/mlx4: Micro-optimize mlx4_ib_post_send()
Rather than have build_mlx_header() return a negative value on failure
and the length of the segments it builds on success, add a pointer
parameter to return the length and return 0 on success.  This matches
the calling convention used for build_lso_seg() and generates slightly
smaller code -- eg, on 64-bit x86:

add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-22 (-22)
function                                     old     new   delta
mlx4_ib_post_send                           2023    2001     -22

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-04-16 21:09:28 -07:00
..
amso1100 IB/core: Add creation flags to struct ib_qp_init_attr 2008-04-16 21:09:27 -07:00
cxgb3 IB: Replace remaining __FUNCTION__ occurrences with __func__ 2008-04-16 21:01:10 -07:00
ehca IB/core: Add creation flags to struct ib_qp_init_attr 2008-04-16 21:09:27 -07:00
ipath IB/core: Add creation flags to struct ib_qp_init_attr 2008-04-16 21:09:27 -07:00
mlx4 IB/mlx4: Micro-optimize mlx4_ib_post_send() 2008-04-16 21:09:28 -07:00
mthca IB/core: Add creation flags to struct ib_qp_init_attr 2008-04-16 21:09:27 -07:00
nes IB/core: Add creation flags to struct ib_qp_init_attr 2008-04-16 21:09:27 -07:00