nvmet-rdma: Implement get_mdts controller op
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 8 Mar 2020 10:55:04 +0000 (12:55 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:51:55 +0000 (04:51 +0900)
commitec6d20e16c2d2bef8df2d82d63dcee51caa4ac27
tree964a2490a1d4c32dbdcbdd009c287e3b6ce6a5a0
parent02cb00e233ade7c050e0f476902e63847e78114e
nvmet-rdma: Implement get_mdts controller op

Set the maximal data transfer size to be 1MB (currently mdts is
unlimited). This will allow calculating the amount of MR's that
one ctrl should allocate to fulfill it's capabilities.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
drivers/nvme/target/rdma.c