]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-rdma: support up to 4 segments of inline data
authorSteve Wise <swise@opengridcomputing.com>
Wed, 20 Jun 2018 14:15:05 +0000 (07:15 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Jul 2018 07:35:15 +0000 (09:35 +0200)
commit0851111a9331e2848f57f4c7e0cc6b87fefb824d
tree167e414022b142400dc7361ae53cc36f2e4a61ab
parent88483127f47de951fd059afa19ef08e06b84c9a8
nvme-rdma: support up to 4 segments of inline data

Allow up to 4 segments of inline data for NVMF WRITE operations. This
reduces latency for small WRITEs by removing the need for the target to
issue a READ WR for IB, or a REG_MR + READ WR chain for iWarp.

Also cap the inline segments used based on the limitations of the
device.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c