[PATCH] nvme: add DIX support for nvme-rdma
Max Gurtovoy
mgurtovoy at nvidia.com
Tue Sep 6 03:05:47 PDT 2022
On 9/6/2022 12:35 PM, Christoph Hellwig wrote:
> On Tue, Sep 06, 2022 at 12:34:13PM +0300, Max Gurtovoy wrote:
>> Maybe we can extend the spec and say that for Fabrics only we can use
>> IP_CSUM as protection for "host_buf-------->host HBA".
>>
>> On the wire we'll use extended LBA with CRC as defined today.
> Please read up on the concept of end to end data protection again.
The current spec doesn't allow the IP_CSUM .
This is clear in:
"In addition to a CRC-16, DIX also specifies an optional IP checksum
that is not supported by the NVM Express interface."
I'm saying that we can extend it to support it.
For now, it only shows the following path
HOST ---> [CTLR ---> NVM]
but it can be extended to something like
HOST ---> HOST_HBA ---> TARGET_HBA ---> NVM
More information about the Linux-nvme
mailing list