Patch "i40iw: Send last streaming mode message for loopback connections" has been added to the 4.7-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
i40iw: Send last streaming mode message for loopback connections
to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
i40iw-send-last-streaming-mode-message-for-loopback-connections.patch
and it can be found in the queue-4.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
07c72d7d54d138eb2ca37709a5a3d55fbcc01536Mon Sep 17 00:00:00 2001
From: Tatyana Nikolova <[email protected]>
Date: Wed, 24 Aug 2016 13:59:17 -0500
Subject: i40iw: Send last streaming mode message for loopback connections
From: Tatyana Nikolova <[email protected]>
commit 07c72d7d54d138eb2ca37709a5a3d55fbcc01536 upstream.
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.
--- drivers/infiniband/hw/i40iw/i40iw_cm.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-)
drivers/infiniband/hw/i40iw/i40iw_cm.c +1 -21
@@ -3347,26 +3347,6 @@ int i40iw_cm_disconn(struct i40iw_qp *iw }/** -* i40iw_loopback_nop - Send a nop -* @qp: associated hw qp -*/ -static void i40iw_loopback_nop (struct i40iw_sc_qp *qp) -{ -u64 *wqe; -u64 header; - - wqe = qp->qp_uk.sq_base->elem; -set_64bit_val (wqe,0 ,0 ); -set_64bit_val (wqe,8 ,0 ); -set_64bit_val (wqe,16 ,0 ); - - header =LS_64 (I40IWQP_OP_NOP ,I40IWQPSQ_OPCODE ) | -LS_64 (0 ,I40IWQPSQ_SIGCOMPL ) | -LS_64 (qp->qp_uk.swqe_polarity,I40IWQPSQ_VALID ); -set_64bit_val (wqe,24 , header); -} - -/** * i40iw_qp_disconnect - free qp and close cm * @iwqp: associate qp for the connection */
@@ -3638,7 +3618,7 @@ int i40iw_accept(struct iw_cm_id *cm_id, }else {if (iwqp->page) iwqp->sc_qp.qp_uk.sq_base =kmap (iwqp->page); -i40iw_loopback_nop (&iwqp->sc_qp); + dev->iw_priv_qp_ops->qp_send_lsmm (&iwqp->sc_qp,NULL ,0 ,0 ); }if (iwqp->page)
Patches currently in stable-queue which might be from [email protected] are
queue-4.7/i40iw-send-last-streaming-mode-message-for-loopback-connections.patch