cxgbe(4): Update firmwares to 1.26.2.0.

The firmwares and the following changelog are from the "Chelsio Unified
Wire v3.15.0.0 for Linux."

Version : 1.26.2.0
Date    : 09/24/2021
====================

FIXES
-----

BASE:
- Added support for SFP+ RJ45 (0x1C).
- Fixing backward compatibility issue with older drivers when multiple
  speeds are passed to firmware.

OFLD:
- Do not touch tp_plen_max if driver is supplying tp_plen_max. This
  fixes a connection reset issue in iscsi.

ENHANCEMENTS
------------

BASE:
- Firmware header modified to add firmware binary signature.

MFC after:	1 month
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2021-09-27 16:45:56 -07:00
parent 4a365e863f
commit 45d6fbaec2
8 changed files with 14 additions and 10 deletions

View File

@ -1495,7 +1495,7 @@ t4fw.fwo optional cxgbe \
no-implicit-rule \ no-implicit-rule \
clean "t4fw.fwo" clean "t4fw.fwo"
t4fw.fw optional cxgbe \ t4fw.fw optional cxgbe \
dependency "$S/dev/cxgbe/firmware/t4fw-1.26.0.0.bin" \ dependency "$S/dev/cxgbe/firmware/t4fw-1.26.2.0.bin" \
compile-with "${CP} ${.ALLSRC} ${.TARGET}" \ compile-with "${CP} ${.ALLSRC} ${.TARGET}" \
no-obj no-implicit-rule \ no-obj no-implicit-rule \
clean "t4fw.fw" clean "t4fw.fw"
@ -1529,7 +1529,7 @@ t5fw.fwo optional cxgbe \
no-implicit-rule \ no-implicit-rule \
clean "t5fw.fwo" clean "t5fw.fwo"
t5fw.fw optional cxgbe \ t5fw.fw optional cxgbe \
dependency "$S/dev/cxgbe/firmware/t5fw-1.26.0.0.bin" \ dependency "$S/dev/cxgbe/firmware/t5fw-1.26.2.0.bin" \
compile-with "${CP} ${.ALLSRC} ${.TARGET}" \ compile-with "${CP} ${.ALLSRC} ${.TARGET}" \
no-obj no-implicit-rule \ no-obj no-implicit-rule \
clean "t5fw.fw" clean "t5fw.fw"
@ -1563,7 +1563,7 @@ t6fw.fwo optional cxgbe \
no-implicit-rule \ no-implicit-rule \
clean "t6fw.fwo" clean "t6fw.fwo"
t6fw.fw optional cxgbe \ t6fw.fw optional cxgbe \
dependency "$S/dev/cxgbe/firmware/t6fw-1.26.0.0.bin" \ dependency "$S/dev/cxgbe/firmware/t6fw-1.26.2.0.bin" \
compile-with "${CP} ${.ALLSRC} ${.TARGET}" \ compile-with "${CP} ${.ALLSRC} ${.TARGET}" \
no-obj no-implicit-rule \ no-obj no-implicit-rule \
clean "t6fw.fw" clean "t6fw.fw"

View File

@ -9952,7 +9952,10 @@ struct fw_hdr {
__u32 reserved3; __u32 reserved3;
__be32 magic; /* runtime or bootstrap fw */ __be32 magic; /* runtime or bootstrap fw */
__be32 flags; __be32 flags;
__be32 reserved6[23]; __be32 reserved6[4];
__u8 reserved7[3];
__u8 dsign_len;
__u8 dsign[72]; /* fw binary digital signature */
}; };
enum fw_hdr_chip { enum fw_hdr_chip {
@ -9992,17 +9995,17 @@ enum fw_hdr_chip {
enum { enum {
T4FW_VERSION_MAJOR = 1, T4FW_VERSION_MAJOR = 1,
T4FW_VERSION_MINOR = 26, T4FW_VERSION_MINOR = 26,
T4FW_VERSION_MICRO = 0, T4FW_VERSION_MICRO = 2,
T4FW_VERSION_BUILD = 0, T4FW_VERSION_BUILD = 0,
T5FW_VERSION_MAJOR = 1, T5FW_VERSION_MAJOR = 1,
T5FW_VERSION_MINOR = 26, T5FW_VERSION_MINOR = 26,
T5FW_VERSION_MICRO = 0, T5FW_VERSION_MICRO = 2,
T5FW_VERSION_BUILD = 0, T5FW_VERSION_BUILD = 0,
T6FW_VERSION_MAJOR = 1, T6FW_VERSION_MAJOR = 1,
T6FW_VERSION_MINOR = 26, T6FW_VERSION_MINOR = 26,
T6FW_VERSION_MICRO = 0, T6FW_VERSION_MICRO = 2,
T6FW_VERSION_BUILD = 0, T6FW_VERSION_BUILD = 0,
}; };
@ -10052,6 +10055,7 @@ enum {
enum fw_hdr_flags { enum fw_hdr_flags {
FW_HDR_FLAGS_RESET_HALT = 0x00000001, FW_HDR_FLAGS_RESET_HALT = 0x00000001,
FW_HDR_FLAGS_SIGNED_FW = 0x00000002,
}; };
/* /*

View File

@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif .endif
.endfor .endfor
T4FW_VER= 1.26.0.0 T4FW_VER= 1.26.2.0
FIRMWS+= t4fw-${T4FW_VER}.bin:t4fw:${T4FW_VER} FIRMWS+= t4fw-${T4FW_VER}.bin:t4fw:${T4FW_VER}
.include <bsd.kmod.mk> .include <bsd.kmod.mk>

View File

@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif .endif
.endfor .endfor
T5FW_VER= 1.26.0.0 T5FW_VER= 1.26.2.0
FIRMWS+= t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER} FIRMWS+= t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER}
.include <bsd.kmod.mk> .include <bsd.kmod.mk>

View File

@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif .endif
.endfor .endfor
T6FW_VER= 1.26.0.0 T6FW_VER= 1.26.2.0
FIRMWS+= t6fw-${T6FW_VER}.bin:t6fw:${T6FW_VER} FIRMWS+= t6fw-${T6FW_VER}.bin:t6fw:${T6FW_VER}
.include <bsd.kmod.mk> .include <bsd.kmod.mk>