]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/scsi/cxlflash/common.h
scsi: cxlflash: Migrate scsi command pointer to AFU command
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Tue, 29 Nov 2016 00:43:18 +0000 (18:43 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Dec 2016 00:53:02 +0000 (19:53 -0500)
commitfe7f96982a4e7103ffab45fba34c57ee19b62639
tree38fb17ac8d61ab2360fab016e13a60c36e286fcb
parent48b4be36edf8a2cb0dedcb2d28f598e51249e805
scsi: cxlflash: Migrate scsi command pointer to AFU command

Currently, when sending a SCSI command, the pointer is stored in a
reserved field of the AFU command descriptor for retrieval once the
SCSI command has completed. In order to support new descriptor formats
that make use of the reserved field, the pointer is migrated to outside
the descriptor where it can still be found during completion processing.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/common.h
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/sislite.h