On Wed, Apr 10, 2019 at 06:27:05AM -0700, Dennis Dalessandro wrote: > From: Kaike Wan <kaike.wan@xxxxxxxxx> > > When a QP is put into error state, the send queue will be flushed. > This mechanism is implemented in both the first and the second leg > of the send engine. Since the second leg is only responsible for > data transactions in the KDETH space for the TID RDMA WRITE request, > it should not perform the flushing of the send queue. > > This patch removes the flushing function of the second leg, but > still keeps the bailing out of the QP if it is put into error state. > > Fixes: 70dcb2e3dc6a ("IB/hfi1: Add the TID second leg send packet builder") > Reviewed-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> > Signed-off-by: Kaike Wan <kaike.wan@xxxxxxxxx> > Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx> > --- > drivers/infiniband/hw/hfi1/tid_rdma.c | 31 ++++++++----------------------- > 1 files changed, 8 insertions(+), 23 deletions(-) Applied to for-rc thanks Jason