John Baldwin 6b7ecdcd9d Re-enable receive flow control for TOE TLS sockets.
Flow control was disabled during initial TOE TLS development to
workaround a hang (and to match the Linux TOE TLS support for T6).
The rest of the TOE TLS code maintained credits as if flow control was
enabled which was inherited from before the workaround was added with
the exception that the receive window was allowed to go negative.
This negative receive window handling (rcv_over) was because I hadn't
realized the full implications of disabling flow control.

To clean this up, re-enable flow control on TOE TLS sockets.  The
existing TPF_FORCE_CREDITS workaround is sufficient for the original
hang.  Now that flow control is enabled, remove the rcv_over
workaround and instead assert that the receive window never goes
negative matching plain TCP TOE sockets.

Reviewed by:	np
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D26799
2020-10-19 20:08:50 +00:00
..
2020-10-16 15:55:06 +00:00
2020-10-14 02:23:49 +00:00
2020-10-02 18:18:01 +00:00
2020-03-30 16:04:25 +00:00
2020-06-15 16:35:27 +00:00
2020-02-03 17:35:11 +00:00
2020-08-11 05:17:10 +00:00
2020-09-15 21:07:30 +00:00
2020-04-18 02:52:59 +00:00
2020-10-17 23:42:33 +00:00
2020-09-18 16:48:08 +00:00
2020-07-01 00:33:16 +00:00
2020-02-03 17:35:11 +00:00
2020-02-12 00:58:17 +00:00
2020-06-22 07:46:24 +00:00
2020-03-30 16:04:25 +00:00
2020-06-14 16:47:16 +00:00
2020-09-10 23:46:13 +00:00
2020-03-24 21:28:48 +00:00
2020-04-18 02:53:09 +00:00
2020-02-03 17:35:11 +00:00
2020-08-21 19:34:41 +00:00
2020-08-31 15:03:23 +00:00
2019-12-26 17:25:51 +00:00
2020-09-18 16:48:08 +00:00
2020-02-07 19:53:07 +00:00
2019-10-21 18:07:11 +00:00
2020-09-03 02:17:55 +00:00
2020-08-01 09:40:19 +00:00
2020-03-30 16:04:25 +00:00
2020-10-03 08:31:28 +00:00
2020-10-05 19:58:55 +00:00
2020-10-05 19:58:55 +00:00
2020-09-29 20:46:25 +00:00
2020-06-14 16:47:16 +00:00
2019-10-21 18:07:40 +00:00
2019-10-21 18:07:44 +00:00
2020-10-08 20:56:06 +00:00
2020-10-18 08:58:14 +00:00
2020-09-18 16:48:08 +00:00