Home
last modified time | relevance | path

Searched hist:"09 c0c0bea500a9ad362589990ee316c9b2482f44" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.cdiff 09c0c0bea500a9ad362589990ee316c9b2482f44 Tue Dec 01 19:18:03 CET 2015 Sagi Grimberg <sagig@mellanox.com> 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>