]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedi: Add the CRC size within iSCSI NVM image
authorNilesh Javali <nilesh.javali@cavium.com>
Thu, 30 Aug 2018 06:55:53 +0000 (23:55 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Aug 2018 11:15:22 +0000 (07:15 -0400)
commit16fed37982eaffa0bfd09da65f7e1f88ff23da1a
treec1ed4534822dd824f23b7e615e5efa8b43da2a50
parent832d69c6ff654e4c07900462b2df7890da40b445
scsi: qedi: Add the CRC size within iSCSI NVM image

The QED driver commit, c2fba58b3ee2 ("qed: Add configuration information
to register dump and debug data"), removes the CRC length validation
causing nvm_get_image failure while loading qedi driver:

[qed_mcp_get_nvm_image:2700(host_10-0)]Image [0] is too big - 00006008 bytes
where only 00006004 are available
[qedi_get_boot_info:2253]:10: Could not get NVM image. ret = -12

Hence add and adjust the CRC size to iSCSI NVM image to read boot info at
qedi load time.

Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi.h
drivers/scsi/qedi/qedi_main.c