Skip to content
Commit d420d9e3 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mlx4: Factor out setting WQE data segment entries



Factor code to set data segment entries out of mlx4_ib_post_send()
into set_data_seg().  This cleans up the code and lets the compiler do
a better job -- on x86_64:

add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-16 (-16)
function                                     old     new   delta
mlx4_ib_post_send                           1598    1582     -16

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 80885456
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment