From: hch@lst.de (hch@lst.de) Date: Thu, 31 May 2018 19:02:01 +0200 Subject: [PATCH v3 1/3] nvme-rdma: correctly check for target keyed sgl support In-Reply-To: References: <14063C7AD467DE4B82DEDB5C278E8663B38EE822@FMSMSX108.amr.corp.intel.com> <3acbea43-d777-88a5-0059-10275655d545@opengridcomputing.com> <8da47cd4-44d5-2229-ef82-26d165dfc245@opengridcomputing.com> Message-ID: <20180531170201.GB31715@lst.de> On Thu, May 31, 2018@12:37:33AM +0300, Sagi Grimberg wrote: >> It looks like these bits are part of the Identify Controller Data >> Structure, figure 90 in the 1.2.1 spec.? The SGL Support (SGLS) field >> within that struct.?? So I guess it belongs in include/linux/nvme.h? >> But I don't see any of this big structure in that header. >> > > Yea, good idea, though please add the offset type sgl as well. Honestly, I'd rather keep defines for every little bit without a name out of the headers. The bit numbers will show up right there when looking for the field in the nvme spec, while making up our own names will just create confusion.