On 7/19/2021 12:57 PM, Christoph Hellwig wrote:
On Mon, Jul 19, 2021 at 12:53:09PM +0300, Max Gurtovoy wrote:
quoted
Currently the tcp and fc transports use nvme_sgl_desc structure to
describe transport data blocks. Replace it with a new structure that
describes the Transport SGL Data Block according to the NVMe
specification.
What is the point? Note that we should probably still clear the
reserved space anyway.
The point is to use the correct structure from the spec and not enforce
some weird casting.
This makes the code more readable.
Reserved space should be treated as for all other reserved fields in the
spec.
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme