• Ralph Campbell's avatar
    IB/ipath: Fix RNR NAK handling · cc65edcf
    Ralph Campbell authored
    This patch fixes a couple of minor problems with RNR NAK handling:
     - The insertion sort was causing extra delay when inserting ahead
       vs. behind an existing entry on the list.
     - A resend of a first packet of a message which is still not ready,
       needs another RNR NAK (i.e., it was suppressed when it shouldn't).
     - Also, the resend tasklet doesn't need to be woken up unless the
       ACK/NAK actually indicates progress has been made.
    Signed-off-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    cc65edcf
ipath_rc.c 51.1 KB