opnsense-src/sys/dev/iscsi
Alexander Motin 38da7d23b6 Make software iSCSI more configurable.
Move software iSCSI tunables/sysctls into kern.icl.soft subtree.
Replace several hardcoded length constants there with variables.

While there, stretch the limits to better match Linux' open-iscsi
and our own initiator with new MAXPHYS of 1MB.  Our CTL target is
also optimized for up to 1MB I/Os, so there is also a match now.
For Windows 10 and VMware 6.7 initiators at default settings it
should make no change, since previous limits were sufficient there.

Tests of QD1 1MB writes from FreeBSD over 10GigE link show throughput
increase by 29% on idle connection and 132% with concurrent QD8 reads.

Sponsored by:	iXsystems, Inc.

(cherry picked from commit b75168ed24)
2021-01-31 12:05:12 -05:00
..
icl.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl.h Make software iSCSI more configurable. 2021-01-31 12:05:12 -05:00
icl_conn_if.m Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl_soft.c Make software iSCSI more configurable. 2021-01-31 12:05:12 -05:00
icl_soft_proxy.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl_wrappers.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi.c Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
iscsi.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi_ioctl.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi_proto.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00