]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Ignore LLP_DOUBT_REACHABILITY AE
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 22 Dec 2017 15:47:00 +0000 (09:47 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Dec 2017 20:39:21 +0000 (13:39 -0700)
commit08070c603ea4c31c5c3234364d3608cd5fd5ed75
tree28d65119a29a1fd698c8a7625626abf2d1d5cec2
parent0b5ac1651c545722dc11b6f479a87188916a4c97
i40iw: Ignore LLP_DOUBT_REACHABILITY AE

The LLP_DOUBT_REACHABILITY Asynchronous Event (AE) is an early
warning of a connection issue. It is followed by LLP_TOO_MANY_RETRIES
AE, if the retransmit threshold is reached and recovery is not possible
for the connection.

Currently we terminate the connection on receiving the
LLP_DOUBT_REACHABILITY AE. Ignore this AE and
terminate the connection only on LLP_TOO_MANY_RETRIES AE.

This improves the user experience on cable disconnect/reconnect
scenario while running iWARP traffic. On cable disconnect,
the QP traffic is paused and the user has a larger and more
reasonable timeout within which if the cable is reconnected,
traffic can continue.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_hw.c