From 105370bf4cb35914f409b16edb6ae15fdcaffd4a Mon Sep 17 00:00:00 2001 From: Anil Gurumurthy Date: Thu, 23 Jul 2026 10:33:27 +0530 Subject: [PATCH] scsi: qla2xxx: Add extended status continuation and marker IOCBs Add the 128-byte sts_cont_entry_ext_t and mrk_entry_ext_t structures required by 29xx firmware. Include the qla_fw29.h header from qla_def.h so the new types are available throughout the driver. Signed-off-by: Anil Gurumurthy Signed-off-by: Nilesh Javali Reviewed-by: Hannes Reinecke Link: https://patch.msgid.link/20260723050413.3897522-11-njavali@marvell.com Signed-off-by: Martin K. Petersen (Oracle) --- drivers/scsi/qla2xxx/qla_def.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 7423687578dc..4de0de5cccc8 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -337,6 +337,7 @@ static inline void wrt_reg_dword(volatile __le32 __iomem *addr, u32 data) #define MAX_CMDSZ 16 /* SCSI maximum CDB size. */ #include "qla_fw.h" +#include "qla_fw29.h" struct name_list_extended { struct get_name_list_extended *l; @@ -2360,6 +2361,15 @@ typedef struct { uint8_t reserved_2[48]; } mrk_entry_t; +/* 29xx definitions */ +struct sts_cont_entry_ext { + uint8_t entry_type; /* Entry type. */ + uint8_t entry_count; /* Entry count. */ + uint8_t sys_define; /* System defined. */ + uint8_t entry_status; /* Entry Status. */ + uint8_t data[124]; /* data */ +}; + /* * ISP queue - Management Server entry structure definition. */