• Eli Cohen's avatar
    IB/mlx4: Optimize QP stamping · 9670e553
    Eli Cohen authored
    The idea is that for QPs with fixed size work requests (eg selective
    signaling QPs), before stamping the WQE, we read the value of the DS
    field, which gives the effective size of the descriptor as used in the
    previous post.  Then we stamp only that area, since the rest of the
    descriptor is already stamped.
    
    When initializing the send queue buffer, make sure the DS field is
    initialized to the max descriptor size so that the subsequent stamping
    will be done on the entire descriptor area.
    Signed-off-by: default avatarEli Cohen <eli@mellanox.co.il>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    9670e553
qp.c 51.4 KB