From: Sagi Grimberg Date: Wed, 1 Oct 2014 11:02:09 +0000 (+0300) Subject: IB/iser: Use single CQ for RX and TX X-Git-Tag: fixes-against-v3.18-rc2~36^2^3~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aabfa76f5e5281e5db128a34420d8f33b8574f7;p=pandora-kernel.git IB/iser: Use single CQ for RX and TX This will solve a possible condition where we might miss TX completion (flush error) during session teardown. Since we are using a single CQ, we don't need to actively drain the TX CQ, instead just wait for flush_completion (when counters reach zero) and remove iser_poll_for_flush_errors(). This patch might introduce a minor performance regression on its own, but the next patches will enhance performance using a single CQ for RX and TX. Signed-off-by: Sagi Grimberg Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed