diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-12-01 10:18:03 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-07 17:20:11 -0500 |
commit | 09c0c0bea500a9ad362589990ee316c9b2482f44 (patch) | |
tree | b4b259763691d05d1443fc36566166248b98073b /drivers/gpio | |
parent | 4d59ad2995e4128c06d889f9e223099b1f19548e (diff) | |
download | op-kernel-dev-09c0c0bea500a9ad362589990ee316c9b2482f44.zip op-kernel-dev-09c0c0bea500a9ad362589990ee316c9b2482f44.tar.gz |
IB/srp: Fix possible send queue overflow
When using work request based memory registration (fast_reg)
we must reserve SQ entries for registration and invalidation
in addition to send operations. Each IO consumes 3 SQ entries
(registration, send, invalidation) so we need to allocate 3x
larger send-queue instead of 2x.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions