• Roland Dreier's avatar
    IB/mlx4: Annotate CQ locking · 338a8fad
    Roland Dreier authored
    mlx4_ib_lock_cqs()/mlx4_ib_unlock_cqs() are helper functions that
    lock/unlock both CQs attached to a QP in the proper order to avoid
    AB-BA deadlocks.  Annotate this so sparse can understand what's going
    on (and warn us if we misuse these functions).
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    338a8fad
qp.c 54.1 KB