]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Chain all iser transaction send work requests
authorSagi Grimberg <sagig@mellanox.com>
Thu, 6 Aug 2015 15:33:06 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:33 +0000 (18:12 -0400)
commit936473a6e5f87ad1465146e62265a995b036ed91
treeaa973831bf21d55bbe2ad999a215381ad3e36e45
parent5aab2cf2d312cb8ccacf0e51b4238fe92076a1ae
IB/iser: Chain all iser transaction send work requests

Chaning of send work requests benefits performance by
reducing the send queue lock contention (acquired in
ib_post_send) and saves us HW doorbells which is posted
only once.

Currently, in normal IO flows iser does not chain the CDB send
work request with the registration work request. Also in PI
flows, signature work requests are not chained as well.

Lets chain those and post only once.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c