iser-target: Reduce CQ lock contention by batch polling
authorSagi Grimberg <sagig@mellanox.com>
Tue, 2 Dec 2014 14:57:45 +0000 (16:57 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 13 Dec 2014 07:32:32 +0000 (23:32 -0800)
commit36ea63b523f3f3b57f708f14af848cac100677d5
tree0b0078eb6547ab90a215dd0eb196c65c09316f46
parent37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde
iser-target: Reduce CQ lock contention by batch polling

In order to reduce the contention on CQ locking (present
in some LLDDs) we poll in batches of 16 work completion items.

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