• Valentin Petrov's avatar
    OFI: Bug fix for RTS/CTS/DATA protocol. · 2069c15e
    Valentin Petrov authored
    MPID_nem_ofi_data_callback used to check sreq->cc in order to track progress of
    the RTS/CTS/DATA protocol. The was an implicit assumption that fi_tsend with RTS
    completes first. However this would cause a hang if fi_trecv completed earlier.
    The fix is: don't rely on the cc but rather check the tag bits explicitly.
    Note, the RTS/CTS/DATA bits are no longer accumulated (i.e., no more
    "wc->tag | CTS/DATA").
    Signed-off-by: default avatarCharles J Archer <charles.j.archer@intel.com>
ofi_msg.c 13 KB