]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98e2be09eff8873e9f6102e5a656029a0b95460c
tree6fb3625df1c2a678bcfd300b442d0b1d05e9ec39
parent81da8fef1c20b084ef75a35fa4bd46fdbfdeeb00
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