• Roland Dreier's avatar
    [IB] mthca: detect SRQ overflow · e23d6d2b
    Roland Dreier authored
    The hardware relies on us keeping one extra work request that never
    gets used in SRQs.  Add checks to the SRQ work request posting
    functions so that they fail when someone is about to use up that extra
    work request, rather than when someone uses the very last work request.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    e23d6d2b
mthca_srq.c 15.3 KB