]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix RNR NAK handling
authorRalph Campbell <ralph.campbell@qlogic.com>
Sat, 15 Dec 2007 03:22:34 +0000 (19:22 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:34 +0000 (14:15 -0800)
commitcc65edcf0c174eff4367cfbc594a2f33c0d477fa
tree0422b9197852617730b9b0d51964726dd5518ec3
parente57d62a14775c9d37195debe837431c75168ef69
IB/ipath: Fix RNR NAK handling

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: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_rc.c
drivers/infiniband/hw/ipath/ipath_ruc.c