]> 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)
commit0456c89de28b4244e9838b6184f4c3b589ee9589
treeb2831e58342fde75ce66c83953c04295721636b8
parentc2c85c3ef57583f24a446e6dfcb2b0b3ba161179
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: 476cbc12eac8 ("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