aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/counters.c
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2019-08-15 15:20:58 -0400
committerDoug Ledford <dledford@redhat.com>2019-08-20 13:44:44 -0400
commitd9d1f5e7bb82415591e8b62b222cbb88c4797ef3 (patch)
treef951837fc96bb5563cabebb442b9a75f9061fcac /drivers/infiniband/core/counters.c
parentIB/hfi1: Add additional checks when handling TID RDMA WRITE DATA packet (diff)
downloadlinux-dev-d9d1f5e7bb82415591e8b62b222cbb88c4797ef3.tar.xz
linux-dev-d9d1f5e7bb82415591e8b62b222cbb88c4797ef3.zip
IB/hfi1: Drop stale TID RDMA packets that cause TIDErr
In a congested fabric with adaptive routing enabled, traces show that packets could be delivered out of order. A stale TID RDMA data packet could lead to TidErr if the TID entries have been released by duplicate data packets generated from retries, and subsequently erroneously force the qp into error state in the current implementation. Since the payload has already been dropped by hardware, the packet can be simply dropped and it is no longer necessary to put the qp into error state. Fixes: 9905bf06e890 ("IB/hfi1: Add functions to receive TID RDMA READ response") Cc: <stable@vger.kernel.org> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Link: https://lore.kernel.org/r/20190815192058.105923.72324.stgit@awfm-01.aw.intel.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/counters.c')
0 files changed, 0 insertions, 0 deletions