summaryrefslogtreecommitdiffstats
path: root/include/math-emu
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-16 21:09:28 -0700
committerRoland Dreier <rolandd@cisco.com>2008-04-16 21:09:28 -0700
commitf438000f7a31fad7cfd27f33ad324a250f4cd2df (patch)
treea838a17ddabf53c01c1115f33b3ab0c0c8ed1d75 /include/math-emu
parentb832be1e4007f4a54954ec68bd865ff05d6babca (diff)
downloadblackbird-op-linux-f438000f7a31fad7cfd27f33ad324a250f4cd2df.tar.gz
blackbird-op-linux-f438000f7a31fad7cfd27f33ad324a250f4cd2df.zip
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>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud