]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Send last streaming mode message for loopback connections
authorTatyana Nikolova <tatyana.e.nikolova@intel.com>
Wed, 24 Aug 2016 18:59:17 +0000 (13:59 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 25 Aug 2016 15:15:47 +0000 (11:15 -0400)
commitcd2501933eb2db2f5c49466e61a905d850aebfd3
treeb2831e58342fde75ce66c83953c04295721636b8
parentbc0eff5e6c24ceb2a9c6d72d777aaf7f6332b6a3
i40iw: Send last streaming mode message for loopback connections

Send a zero length last streaming mode message for loopback
connections to synchronize between accepting QP and connecting QP.
This avoids data transfer to start on the accepting QP before
the connecting QP is in RTS. Also remove function i40iw_loopback_nop()
as it is no longer used.

Fixes: 11419b4d0754 ("i40iw: add connection management code")
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c