summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctld.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-06-09 07:19:02 +0000
committertrasz <trasz@FreeBSD.org>2016-06-09 07:19:02 +0000
commit38c5e8c6804867f45eaab20259568573851d4b9e (patch)
tree735cf3a930c34bd839121b1a6145fba23a6a83b5 /usr.sbin/ctld/ctld.h
parentd477060046fe76cede4a87ae4fc119f40b578a7c (diff)
downloadFreeBSD-src-38c5e8c6804867f45eaab20259568573851d4b9e.zip
FreeBSD-src-38c5e8c6804867f45eaab20259568573851d4b9e.tar.gz
Don't cap FirstBurstLength to maximum MaxRecvDataSegmentLength claimed
by the offload driver; there is no reason to do so, and it actually harms performance. MFC after: 1 month
Diffstat (limited to 'usr.sbin/ctld/ctld.h')
-rw-r--r--usr.sbin/ctld/ctld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ctld/ctld.h b/usr.sbin/ctld/ctld.h
index 705da33..20864a7 100644
--- a/usr.sbin/ctld/ctld.h
+++ b/usr.sbin/ctld/ctld.h
@@ -49,6 +49,7 @@
#define MAX_NAME_LEN 223
#define MAX_DATA_SEGMENT_LENGTH (128 * 1024)
#define MAX_BURST_LENGTH 16776192
+#define FIRST_BURST_LENGTH (128 * 1024)
#define SOCKBUF_SIZE 1048576
struct auth {
OpenPOWER on IntegriCloud