• Roland Dreier's avatar
    [PATCH] IB/mthca: fix posting of first work request · d6cff021
    Roland Dreier authored
    Fix posting first WQE for mem-free HCAs: we need to link to previous
    WQE even in that case.  While we're at it, simplify code for
    Tavor-mode HCAs.  We don't really need the conditional test there
    either; we can similarly always link to the previous WQE.
    
    Based on Michael S. Tsirkin's analogous fix for userspace libmthca.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    d6cff021
mthca_srq.c 14.6 KB