Message ID | 20220329180616.22547-1-sumit.saxena@broadcom.com |
---|---|
Headers | show |
Series | mpi3mr: add BSG interface support for controller management | expand |
On Mon, Apr 4, 2022 at 10:01 PM Bart Van Assche <bvanassche@acm.org> wrote: > I can't find any code in the kernel that stores the value > MPI3_FUNCTION_NVME_ENCAPSULATED. Does that mean that that value is set > by user space and hence that the definition of that constant should > occur in a uapi header? Same question for struct > mpi3_nvme_encapsulated_request. Agree with you Bart. MPI3_FUNCTION_NVME_ENCAPSULATED and mpi3_nvme_encapsulated_request should be moved to uapi headers. Infact, applications may need all headers contained in "mpi" directory (drivers/scsi/mp3imr/mpi). So it would make sense to move the entire "mpi" directory to "uapi/scsi/mpi3mr". Thanks, Sumit > > Thanks, > > Bart.