Thread (6 messages) 6 messages, 3 authors, 2021-07-20

Re: [PATCH 1/1] nvme: introduce nvme_transport_sgl_desc structure

From: Max Gurtovoy <mgurtovoy@nvidia.com>
Date: 2021-07-19 10:04:30

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help