]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iser-target: Convert to new CQ API
authorChristoph Hellwig <hch@lst.de>
Wed, 24 Feb 2016 17:24:06 +0000 (19:24 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 5 Mar 2016 07:35:53 +0000 (23:35 -0800)
commitc3ddb7f03b6a603333c6d6f07296078efd098ae6
treed41e6a34ba0b07709bfac740c2e7cd741b5b3926
parent7e2f756c412b3e7bef6189faf792f119c39359b8
iser-target: Convert to new CQ API

Use the workqueue based CQ type similar to what isert was using previously,
and properly split up the completion handlers.

Note that this also takes special care to handle the magic login WRs
separately, and also renames the submission functions so that it's clear
that they are only to be used for the login buffers.

(Fix up isert_print_wc usage in isert_beacon_done - nab)

Signed-off-by: Christoph Hellwig <hch@lst.de>
[sagig: added iscsi conn reinstatement in non-flush
 error completions and added error completion type print]
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h