[PATCH 3/7 v2] nvme-fabrics: Add FC transport FC-NVME definitions
James Smart
james.smart at broadcom.com
Wed Oct 12 11:53:29 PDT 2016
On 10/12/2016 1:58 AM, Christoph Hellwig wrote:
> On Fri, Oct 07, 2016 at 04:09:04PM -0700, James Smart wrote:
>> nvme-fabrics: Add FC transport FC-NVME definitions:
> FYI, all the patches seem to have this duplicate of the subject in
> the mail body.
I'm surprised. I'll look at it.
>
>> - cmd_iu changed in T11. The 2 reserved words, previous at words
>> 2 and 3, were moved to after the sqe.
>> - Modifications from prior reviews:
>> - FC-transport-specific error codes moved to include/linux/nvme.h
>> - Removed 0x28 type declaration to include/uapi/scsi/fc/fc_fs.h
>> - Removed Reject reasons and explanations. ELS values are to be used.
> This should go either into the cover letter, or below the "---" line
> so that it doesn't show up in the commit message.
Ok - help my style. I assumed deltas to original patch made sense to
itemize. As they are specific to this one file I thought it made sense
to be in the commit message for this patch. I have no problem moving it
to the cover letter. Just not sure what the criteria is for one place vs
another.
>
>> +/* fills in length of a descriptor. Struture minus descriptor header */
>> +#define FCNVME_LSDESC_LEN(lsdesc) \
>> + cpu_to_be32(sizeof(lsdesc) - (2*(sizeof(u32))))
> Make this an inline function and use spaces between the operators,
> please.
Np.
-- james
More information about the Linux-nvme
mailing list