]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Increase packet egress timeout
authorJubin John <jubin.john@intel.com>
Thu, 9 Jun 2016 14:51:27 +0000 (07:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 18 Jun 2016 00:11:26 +0000 (20:11 -0400)
commitf63fa6eff97036e45818aa53605654f92b1a13a6
tree477f60e860ddcdc3678e7f8d245e7d4c4b7b159b
parent2fcdc9529a7acd32bf8b390bc6f11477be1b042f
IB/hfi1: Increase packet egress timeout

The current value of 500us for the packet egress timeout is too small
which causes the host to declare failure on draining packets too early
and unnecessarily bounces the link. Increase this to 50ms taking into
account the switch packet discard timer default and the worst case
per-VL package drainage rate.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/pio.c