]> git.baikalelectronics.ru Git - kernel.git/commit
iser-target: Ignore completions for FRWRs in isert_cq_tx_work
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 27 Feb 2014 15:02:48 +0000 (07:02 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 5 Mar 2014 01:54:10 +0000 (17:54 -0800)
commitb6700415b81724719fa4d70551d4bc275c89081f
treece7deac1e49be133d4112d64e4d004d1e068388e
parent48e536210f438c72664536fd9c60198c74c990f1
iser-target: Ignore completions for FRWRs in isert_cq_tx_work

This patch changes IB_WR_FAST_REG_MR + IB_WR_LOCAL_INV related
work requests to include a ISER_FRWR_LI_WRID value in order to
signal isert_cq_tx_work() that these requests should be ignored.

This is necessary because even though IB_SEND_SIGNALED is not
set for either work request, during a QP failure event the work
requests will be returned with exception status from the TX
completion queue.

v2 changes:
 - Rename ISER_FRWR_LI_WRID -> ISER_FASTREG_LI_WRID (Sagi)

Acked-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: <stable@vger.kernel.org> #3.12+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h