]> git.karo-electronics.de Git - linux-beck.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)
commitc3c64a951cbdb6096d02dcc339a9c807ce1e976a
tree477f60e860ddcdc3678e7f8d245e7d4c4b7b159b
parent501edc42446e89fa67fb6ef2c9afb50792c310c0
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