]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b3c7f6e3e00238761bfe12b9262854da1d4626d
tree964a2490a1d4c32dbdcbdd009c287e3b6ce6a5a0
parent69710d4646bda5fb02cfc57d77318414a43ee18e
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