freebsd-dev/sys/dev/iscsi
Alexander Motin 35263d6a48 Improve use of socket buffer upcalls.
Use soreadable()/sowriteable() in socket upcalls to avoid extra wakeups
until we have enough data to read or space to write.

Increase partial receive len from 1K to 128K to not wake up on every
received packet.

This significantly reduces locks congestion and CPU usage and improves
throughput for large I/Os on NICs without TSO and LRO.

Reviewed by:	trasz
Sponsored by:	iXsystems, Inc.
2014-04-11 18:26:08 +00:00
..
icl_proxy.c Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
icl.c Improve use of socket buffer upcalls. 2014-04-11 18:26:08 +00:00
icl.h Rework the iSCSI PDU transmit code to avoid lock contention and coalesce 2014-04-04 15:49:37 +00:00
iscsi_ioctl.h Add some spare fields to structs used by the new iSCSI stack - some just 2013-09-20 21:26:51 +00:00
iscsi_proto.h Bring in the new iSCSI target and initiator. 2013-09-14 15:29:06 +00:00
iscsi.c All the iSCSI sysctls are also tunables; advertise that. 2014-04-04 08:48:55 +00:00
iscsi.h We don't need TAILQ for iSCSI PDUs; STAILQ is enough. 2014-04-04 08:43:23 +00:00