]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore condition removed in df3747c6607b.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 3 Mar 2021 16:58:04 +0000 (11:58 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 3 Mar 2021 17:03:08 +0000 (12:03 -0500)
commitaff9b9ee894e3e6b6d8c7e4182d6b973804df853
treec8125384b7a68122b5b37afc63a4ce385c5bb369
parentf2f24008a2b1b3c7a1c4b75e9b9c2d0f08abc27b
Restore condition removed in df3747c6607b.

I think it allowed to avoid some TX thread wakeups while the socket
buffer is full.  But add there another options if ic_check_send_space
is set, which means socket just reported that new space appeared, so
it may have sense to pull more data from ic_to_send for better TX
coalescing.

MFC after: 1 week
sys/dev/iscsi/icl_soft.c