aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2021-09-27 23:45:56 +0000
committerNavdeep Parhar <np@FreeBSD.org>2021-09-28 06:52:51 +0000
commit45d6fbaec23eee457197a14517e715c947114d99 (patch)
tree73c15a78adb50412c09d1a94f43bc3b4735c2ba3
parent4a365e863f209b0c82641c909a858dab53b19134 (diff)
downloadsrc-45d6fbaec23eee457197a14517e715c947114d99.tar.gz
src-45d6fbaec23eee457197a14517e715c947114d99.zip
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
-rw-r--r--sys/conf/files6
-rw-r--r--sys/dev/cxgbe/firmware/t4fw-1.26.2.0.bin (renamed from sys/dev/cxgbe/firmware/t4fw-1.26.0.0.bin)bin570368 -> 570368 bytes
-rw-r--r--sys/dev/cxgbe/firmware/t4fw_interface.h12
-rw-r--r--sys/dev/cxgbe/firmware/t5fw-1.26.2.0.bin (renamed from sys/dev/cxgbe/firmware/t5fw-1.26.0.0.bin)bin675840 -> 676352 bytes
-rw-r--r--sys/dev/cxgbe/firmware/t6fw-1.26.2.0.bin (renamed from sys/dev/cxgbe/firmware/t6fw-1.26.0.0.bin)bin729088 -> 729088 bytes
-rw-r--r--sys/modules/cxgbe/t4_firmware/Makefile2
-rw-r--r--sys/modules/cxgbe/t5_firmware/Makefile2
-rw-r--r--sys/modules/cxgbe/t6_firmware/Makefile2
8 files changed, 14 insertions, 10 deletions
diff --git a/sys/conf/files b/sys/conf/files
index be8acb32d14c..eaf356d8dce4 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1495,7 +1495,7 @@ t4fw.fwo optional cxgbe \
no-implicit-rule \
clean "t4fw.fwo"
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}" \
no-obj no-implicit-rule \
clean "t4fw.fw"
@@ -1529,7 +1529,7 @@ t5fw.fwo optional cxgbe \
no-implicit-rule \
clean "t5fw.fwo"
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}" \
no-obj no-implicit-rule \
clean "t5fw.fw"
@@ -1563,7 +1563,7 @@ t6fw.fwo optional cxgbe \
no-implicit-rule \
clean "t6fw.fwo"
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}" \
no-obj no-implicit-rule \
clean "t6fw.fw"
diff --git a/sys/dev/cxgbe/firmware/t4fw-1.26.0.0.bin b/sys/dev/cxgbe/firmware/t4fw-1.26.2.0.bin
index 04e96d16c57a..a8f611628dcc 100644
--- a/sys/dev/cxgbe/firmware/t4fw-1.26.0.0.bin
+++ b/sys/dev/cxgbe/firmware/t4fw-1.26.2.0.bin
Binary files differ
diff --git a/sys/dev/cxgbe/firmware/t4fw_interface.h b/sys/dev/cxgbe/firmware/t4fw_interface.h
index acb7a6481d9c..876fd61b4b21 100644
--- a/sys/dev/cxgbe/firmware/t4fw_interface.h
+++ b/sys/dev/cxgbe/firmware/t4fw_interface.h
@@ -9952,7 +9952,10 @@ struct fw_hdr {
__u32 reserved3;
__be32 magic; /* runtime or bootstrap fw */
__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 {
@@ -9992,17 +9995,17 @@ enum fw_hdr_chip {
enum {
T4FW_VERSION_MAJOR = 1,
T4FW_VERSION_MINOR = 26,
- T4FW_VERSION_MICRO = 0,
+ T4FW_VERSION_MICRO = 2,
T4FW_VERSION_BUILD = 0,
T5FW_VERSION_MAJOR = 1,
T5FW_VERSION_MINOR = 26,
- T5FW_VERSION_MICRO = 0,
+ T5FW_VERSION_MICRO = 2,
T5FW_VERSION_BUILD = 0,
T6FW_VERSION_MAJOR = 1,
T6FW_VERSION_MINOR = 26,
- T6FW_VERSION_MICRO = 0,
+ T6FW_VERSION_MICRO = 2,
T6FW_VERSION_BUILD = 0,
};
@@ -10052,6 +10055,7 @@ enum {
enum fw_hdr_flags {
FW_HDR_FLAGS_RESET_HALT = 0x00000001,
+ FW_HDR_FLAGS_SIGNED_FW = 0x00000002,
};
/*
diff --git a/sys/dev/cxgbe/firmware/t5fw-1.26.0.0.bin b/sys/dev/cxgbe/firmware/t5fw-1.26.2.0.bin
index f72bd502ea1f..b11d6d0bf49f 100644
--- a/sys/dev/cxgbe/firmware/t5fw-1.26.0.0.bin
+++ b/sys/dev/cxgbe/firmware/t5fw-1.26.2.0.bin
Binary files differ
diff --git a/sys/dev/cxgbe/firmware/t6fw-1.26.0.0.bin b/sys/dev/cxgbe/firmware/t6fw-1.26.2.0.bin
index ee4341d5074f..f43d9953a7a4 100644
--- a/sys/dev/cxgbe/firmware/t6fw-1.26.0.0.bin
+++ b/sys/dev/cxgbe/firmware/t6fw-1.26.2.0.bin
Binary files differ
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile
index a202c5d2a6a0..e525edf96ce2 100644
--- a/sys/modules/cxgbe/t4_firmware/Makefile
+++ b/sys/modules/cxgbe/t4_firmware/Makefile
@@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor
-T4FW_VER= 1.26.0.0
+T4FW_VER= 1.26.2.0
FIRMWS+= t4fw-${T4FW_VER}.bin:t4fw:${T4FW_VER}
.include <bsd.kmod.mk>
diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile
index 371df89f233b..74e89e4174b5 100644
--- a/sys/modules/cxgbe/t5_firmware/Makefile
+++ b/sys/modules/cxgbe/t5_firmware/Makefile
@@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor
-T5FW_VER= 1.26.0.0
+T5FW_VER= 1.26.2.0
FIRMWS+= t5fw-${T5FW_VER}.bin:t5fw:${T5FW_VER}
.include <bsd.kmod.mk>
diff --git a/sys/modules/cxgbe/t6_firmware/Makefile b/sys/modules/cxgbe/t6_firmware/Makefile
index 074c3991bc37..2ea01e7b776a 100644
--- a/sys/modules/cxgbe/t6_firmware/Makefile
+++ b/sys/modules/cxgbe/t6_firmware/Makefile
@@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor
-T6FW_VER= 1.26.0.0
+T6FW_VER= 1.26.2.0
FIRMWS+= t6fw-${T6FW_VER}.bin:t6fw:${T6FW_VER}
.include <bsd.kmod.mk>