]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hfi1: Defer setting VL15 credits to link-up interrupt
authorByczkowski, Jakub <jakub.byczkowski@intel.com>
Fri, 12 May 2017 16:01:37 +0000 (09:01 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:04:20 +0000 (17:04 -0400)
commite021b683267b723372cd0b7e1d9fc9178f0a950f
tree87997267ddfad332c0773f2adf807eea6e9803a4
parent9e7d46fd924f4e05ef9663364d61dc3eab282974
RDMA/hfi1: Defer setting VL15 credits to link-up interrupt

Keep VL15 credits at 0 during LNI, before link-up. Store
VL15 credits value during verify cap interrupt and set
in after link-up. This addresses an issue where VL15 MAD
packets could be sent by one side of the link before
the other side is ready to receive them.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip_registers.h
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/intr.c