]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb3e6b4bdbb609762d8401ac4a959d590b4e4e3b8
tree87997267ddfad332c0773f2adf807eea6e9803a4
parente4785b0633574a607daaa04bf2fe43550055194f
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