summaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-12-05 20:43:25 +0000
committerjhb <jhb@FreeBSD.org>2016-12-05 20:43:25 +0000
commit53e758b5114ebac98094ec068bce521e525fa3ba (patch)
tree706aa315aa6be15f0af73616f9bb2cf0c5bbd566 /sys/modules/cxgbe
parent59a5c4f87262708b99187baf9fd570812347a621 (diff)
downloadFreeBSD-src-53e758b5114ebac98094ec068bce521e525fa3ba.zip
FreeBSD-src-53e758b5114ebac98094ec068bce521e525fa3ba.tar.gz
MFC 305695,305696,305699,305702,305703,305713,305715,305827,305852,305906,
305908,306062,306063,306137,306138,306206,306216,306273,306295,306301, 306465,309302: Add support for adapters using the Terminator T6 ASIC. 305695: cxgbe(4): Set up fl_starve_threshold2 accurately for T6. 305696: cxgbe(4): Use correct macro for header length with T6 ASICs. This affects the transmit of the VF driver only. 305699: cxgbe(4): Update the pad_boundary calculation for T6, which has a different range of boundaries. 305702: cxgbe(4): Use smaller min/max bursts for fl descriptors with a T6. 305703: cxgbe(4): Deal with the slightly different SGE_STAT_CFG in T6. 305713: cxgbe(4): Add support for additional port types and link speeds. 305715: cxgbe(4): Catch up with the rename of tlscaps -> cryptocaps. TLS is one of the capabilities of the crypto engine in T6. 305827: cxgbe(4): Use the interface's viid to calculate the PF/VF/VFValid fields to use in tx work requests. 305852: cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will come up as 't6nex' nexus devices with 'cc' ports hanging off them. The T6 firmware and configuration files will be added as soon as they are released. For now the driver will try to work with whatever firmware and configuration is on the card's flash. 305906: cxgbe/t4_tom: The SMAC entry for a VI is at a different location in the T6. 305908: cxgbe/t4_tom: Update the active/passive open code to support T6. Data path works as-is. 306062: cxgbe(4): Show wcwr_stats for T6 cards. 306063: cxgbe(4): Setup congestion response for T6 rx queues. 306137: cxgbetool: Add T6 support to the SGE context decoder. 306138: Fix typo. 306206: cxgbe(4): Catch up with the different layout of WHOAMI in T6. Note that the code moved below t4_prep_adapter() as part of this change because now it needs a working chip_id(). 306216: cxgbe(4): Fix the output of the "tids" sysctl on T6. 306273: cxgbe(4): Fix netmap with T6, which doesn't encapsulate SGE_EGR_UPDATE message inside a FW_MSG. The base NIC already deals with updates in either form. 306295: cxgbe(4): Support SIOGIFXMEDIA so that ifconfig displays correct media for 25Gbps and 100Gbps ports. This should have been part of r305713, which is when the driver first started reporting extended media types. 306301: cxgbe(4): Use the port's top speed to figure out whether it is "high speed" or not (for the purpose of calculating the number of queues etc.) This does the right thing for 25Gbps and 100Gbps ports. 306465: cxgbe(4): Claim the T6 -DBG card. 309302: cxgbe(4): Include firmware for T6 cards in the driver. Update all firmwares to 1.16.12.0. Sponsored by: Chelsio Communications
Diffstat (limited to 'sys/modules/cxgbe')
-rw-r--r--sys/modules/cxgbe/Makefile3
-rw-r--r--sys/modules/cxgbe/if_cc/Makefile11
-rw-r--r--sys/modules/cxgbe/if_ccv/Makefile11
-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/Makefile27
6 files changed, 54 insertions, 2 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile
index 57409db..c36ef2a6 100644
--- a/sys/modules/cxgbe/Makefile
+++ b/sys/modules/cxgbe/Makefile
@@ -7,10 +7,13 @@ SYSDIR?=${.CURDIR}/../..
SUBDIR= if_cxgbe
SUBDIR+= if_cxl
+SUBDIR+= if_cc
SUBDIR+= if_cxgbev
SUBDIR+= if_cxlv
+SUBDIR+= if_ccv
SUBDIR+= t4_firmware
SUBDIR+= t5_firmware
+SUBDIR+= t6_firmware
SUBDIR+= ${_tom}
SUBDIR+= ${_iw_cxgbe}
SUBDIR+= ${_cxgbei}
diff --git a/sys/modules/cxgbe/if_cc/Makefile b/sys/modules/cxgbe/if_cc/Makefile
new file mode 100644
index 0000000..f81d174
--- /dev/null
+++ b/sys/modules/cxgbe/if_cc/Makefile
@@ -0,0 +1,11 @@
+#
+# $FreeBSD$
+#
+
+CXGBE= ${.CURDIR}/../../../dev/cxgbe
+.PATH: ${CXGBE}
+
+KMOD= if_cc
+SRCS= if_cc.c
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/cxgbe/if_ccv/Makefile b/sys/modules/cxgbe/if_ccv/Makefile
new file mode 100644
index 0000000..0fcc03c4b
--- /dev/null
+++ b/sys/modules/cxgbe/if_ccv/Makefile
@@ -0,0 +1,11 @@
+#
+# $FreeBSD$
+#
+
+CXGBE= ${.CURDIR}/../../../dev/cxgbe
+.PATH: ${CXGBE}
+
+KMOD= if_ccv
+SRCS= if_ccv.c
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile
index 8b5bb47..cd1af2d 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.15.37.0
+T4FW_VER= 1.16.12.0
FIRMWS+= t4fw.fw:t4fw:${T4FW_VER}
CLEANFILES+= t4fw.fw
diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile
index 4b1debb..1da0474 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.15.37.0
+T5FW_VER= 1.16.12.0
FIRMWS+= t5fw.fw:t5fw:${T5FW_VER}
CLEANFILES+= t5fw.fw
diff --git a/sys/modules/cxgbe/t6_firmware/Makefile b/sys/modules/cxgbe/t6_firmware/Makefile
new file mode 100644
index 0000000..33d03fb
--- /dev/null
+++ b/sys/modules/cxgbe/t6_firmware/Makefile
@@ -0,0 +1,27 @@
+#
+# $FreeBSD$
+#
+
+T6FW= ${.CURDIR}/../../../dev/cxgbe/firmware
+.PATH: ${T6FW}
+
+KMOD= t6fw_cfg
+FIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0
+
+# You can have additional configuration files in the ${T6FW} directory.
+# t6fw_cfg_<name>.txt
+CFG_FILES != cd ${T6FW} && echo ${KMOD}_*.txt
+.for F in ${CFG_FILES}
+.if exists(${F})
+FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
+.endif
+.endfor
+
+T6FW_VER= 1.16.12.0
+FIRMWS+= t6fw.fw:t6fw:${T6FW_VER}
+CLEANFILES+= t6fw.fw
+
+t6fw.fw: t6fw-${T6FW_VER}.bin.uu
+ uudecode -o ${.TARGET} ${.ALLSRC}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud