[PATCH] nvme-rdma: send cntlid in the RDMA_CM_REQUEST Private Data
Sagi Grimberg
sagi at grimberg.me
Mon Aug 26 03:40:39 PDT 2024
On 26/08/2024 12:27, Niklas Cassel wrote:
> On Thu, Aug 15, 2024 at 10:11:31PM +0200, Niklas Cassel wrote:
>> When sending a RDMA_CM_REQUEST, the NVMe RDMA Transport Specification
>> allows you to populate the cntlid field in the RDMA_CM_REQUEST Private
>> Data.
>>
>> The cntlid is returned by the target on completion of the first
>> RDMA_CM_REQUEST command (which creates the admin queue).
>>
>> The cntlid field can then be populated by the host when the I/O queues
>> are created (using additional RDMA_CM_REQUEST commands), such that the
>> target can perform extra validation for additional RDMA_CM_REQUEST
>> commands.
>>
>> This additional error code and error message is also added, such that
>> nvme_rdma_cm_msg() will display the proper error message if the target
>> fails the RDMA_CM_REQUEST command because of this extra validation.
>>
>> Signed-off-by: Niklas Cassel <cassel at kernel.org>
>> ---
>> drivers/nvme/host/rdma.c | 2 ++
>> include/linux/nvme-rdma.h | 6 +++++-
>> 2 files changed, 7 insertions(+), 1 deletion(-)
> Hello NVMe maintainers,
>
> is there any chance of getting this picked up?
Keith will probably pick it up for 6.12...
More information about the Linux-nvme
mailing list