summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2015-11-10 02:29:19 +0000
committernp <np@FreeBSD.org>2015-11-10 02:29:19 +0000
commit6394d446ad0b881e8dfe3cc1cd451538f2aa7ff9 (patch)
tree5849e592dcca223f1dca2a24f2bdea90dacf6708
parentaedba6c5a22be3a69a4373d744394c58cebba938 (diff)
downloadFreeBSD-src-6394d446ad0b881e8dfe3cc1cd451538f2aa7ff9.zip
FreeBSD-src-6394d446ad0b881e8dfe3cc1cd451538f2aa7ff9.tar.gz
cxgbe/t4_tom: add a knob to the default configuration file to tune
the TOE for LAN operation. It is possible to set this to other values (cluster for networks with little loss and really tight RTTs, and wan for relatively large RTTs and/or lossy networks) depending on the environment in which the TOE is being used. None of this affects plain NIC operation in any way. MFC after: 1 week
-rw-r--r--sys/dev/cxgbe/firmware/t4fw_cfg.txt5
-rw-r--r--sys/dev/cxgbe/firmware/t5fw_cfg.txt5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/firmware/t4fw_cfg.txt b/sys/dev/cxgbe/firmware/t4fw_cfg.txt
index f417abb..78caa28 100644
--- a/sys/dev/cxgbe/firmware/t4fw_cfg.txt
+++ b/sys/dev/cxgbe/firmware/t4fw_cfg.txt
@@ -33,6 +33,9 @@
tp_pmrx_pagesize = 64K
tp_pmtx_pagesize = 64K
+ # cluster, lan, or wan.
+ tp_tcptuning = lan
+
# TP OFLD MTUs
tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
@@ -160,7 +163,7 @@
[fini]
version = 0x1
- checksum = 0xb4168add
+ checksum = 0xc5e9ef34
#
# $FreeBSD$
#
diff --git a/sys/dev/cxgbe/firmware/t5fw_cfg.txt b/sys/dev/cxgbe/firmware/t5fw_cfg.txt
index 59ca453..ad50df4 100644
--- a/sys/dev/cxgbe/firmware/t5fw_cfg.txt
+++ b/sys/dev/cxgbe/firmware/t5fw_cfg.txt
@@ -42,6 +42,9 @@
tp_pmrx_pagesize = 64K
tp_pmtx_pagesize = 64K
+ # cluster, lan, or wan.
+ tp_tcptuning = lan
+
# TP OFLD MTUs
tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
@@ -173,7 +176,7 @@
[fini]
version = 0x1
- checksum = 0x4f45e608
+ checksum = 0x6b54f66d
#
# $FreeBSD$
#
OpenPOWER on IntegriCloud