]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Decrement CQ's active QPs accounting when QP creation fails
authorSagi Grimberg <sagig@mellanox.com>
Sun, 7 Dec 2014 14:09:55 +0000 (16:09 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:11:44 +0000 (18:11 -0800)
commita0be5e1c9f0b50ca3f0d0579d916718371946da8
tree7c54cf1edd422b6359d2844bf9921994802514a3
parent04094524b10f6bc506b2f775034ef838b90a78ac
IB/iser: Decrement CQ's active QPs accounting when QP creation fails

When creating a connection QP we choose the least used CQ and inc the
number of active QPs on that. If we fail to create the QP, we need to
decrement the active QPs counter.

Reported-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_verbs.c