]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: epsc: Fix keepalive timeouts
authorKnut Omang <knut.omang@oracle.com>
Thu, 2 Jun 2016 08:39:14 +0000 (10:39 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:40 +0000 (16:01 +0200)
commit104ab9e48e7f009e514ecdb7223a18fc2f1c5c40
treedd304a50e8a84221335e1c9d220bfbe4a6f9732c
parent22d706f9e37c70f12b863fa15feda01eefd57242
sif: epsc: Fix keepalive timeouts

* If a keepalive is posted, do not reset the general timeout interval.
  This effectively caused EPSC requests not ever to time out.
* Remove a superfluous timeout reset in sif_eps_poll_cqe
  The timeout was already set correctly during post.
* Also avoid sending keepalives if the sender has given up.

Signed-off-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_epsc.c