]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Split send and recieve CQs to reduce number of interrupts
authorBart Van Assche <bart.vanassche@gmail.com>
Tue, 2 Feb 2010 19:23:54 +0000 (19:23 +0000)
committerRoland Dreier <rolandd@cisco.com>
Tue, 2 Mar 2010 07:51:38 +0000 (23:51 -0800)
commite6e1f2708e4eb8fdeb6306d74dc18bc6a79b7255
treeb96f2a43eeeed19d60dc0e6337d9fc91f1f6d804
parentf5d41df0d32c1a59340e54a0da1662fab8d835a4
IB/srp: Split send and recieve CQs to reduce number of interrupts

We can reduce the number of IB interrupts from two interrupts per
srp_queuecommand() call to one by using separate CQs for send and
receive completions and processing send completions by polling every
time a TX IU is allocated.

Receive completion events still trigger an interrupt.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h