iser-target: Use single CQ for TX and RX
authorSagi Grimberg <sagig@mellanox.com>
Tue, 2 Dec 2014 14:57:41 +0000 (16:57 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 13 Dec 2014 07:32:30 +0000 (23:32 -0800)
commit6f0fae3d7797172f5c30ada80e815122fdf55609
tree6fb3625df1c2a678bcfd300b442d0b1d05e9ec39
parent4a295bae7e72d870354d337fe42360b0e4441e57
iser-target: Use single CQ for TX and RX

Using TX and RX CQs attached to the same vector might
create a throttling effect coming from the serial processing
of a work-queue. Use one CQ instead, it will do better in interrupt
processing and it provides a simpler code. Also, We get rid of
redundant isert_rx_wq.

Next we can remove the atomic post_send_buf_count from the IO path.

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