freebsd-skq/sys/dev/cxgbe
John Baldwin 0082e479ef Clear TLS offload mode if a TLS socket hangs without receiving data.
By default, if a TOE TLS socket stops receiving data for more than 5
seconds, revert the connection back to plain TOE mode.  This provides
a fallback if the userland SSL library does not support KTLS.  In
addition, for client TLS 1.3 sockets using connect(), the TOE socket
blocks before the handshake has completed since the socket option is
only invoked for the final handshake.

The timeout defaults to 5 seconds, but can be changed at boot via the
hw.cxgbe.toe.tls_rx_timeout tunable or for an individual interface via
the dev.<nexus>.toe.tls_rx_timeout sysctl.

Reviewed by:	np
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D27470
2020-12-03 22:06:08 +00:00
..
common cxgbe(4): two new debug sysctls. 2020-12-03 22:00:41 +00:00
crypto Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
cudbg cxgbe(4): unimplemented cudbg routines should return the correct 2020-10-14 08:04:39 +00:00
cxgbei cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. 2020-08-21 00:34:33 +00:00
firmware cxgbe(4): Add the firmware binaries missing in r367428. 2020-11-08 22:30:13 +00:00
iw_cxgbe Switch cxgbe interface lookup to use fibX_lookup() from older 2020-06-22 07:35:23 +00:00
tom Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
adapter.h cxgbe(4): Stop but don't free netmap queues when netmap is switched off. 2020-12-03 08:30:29 +00:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
osdep.h cxgbe(4): Add adapter information to messages logged by the OS-agnostic 2019-01-29 00:49:12 +00:00
t4_clip.c cxgbe(4): Do not display error messages related to the CLIP table if 2020-03-13 00:12:15 +00:00
t4_clip.h Move CLIP table handling out of TOM and into the base driver. 2018-11-29 01:15:53 +00:00
t4_filter.c Always allocate the atid table during attach. 2019-10-22 20:01:47 +00:00
t4_if.m
t4_ioctl.h cxgbe(4): Allow "pass" filters to distribute matching traffic using a 2018-10-25 14:37:26 +00:00
t4_iov.c cxgbe(4): Allow the PF driver to set a VF's MAC address. 2020-11-09 00:08:35 +00:00
t4_l2t.c NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_l2t.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_main.c Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
t4_mp_ring.c cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_mp_ring.h cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_netmap.c cxgbe(4): Stop but don't free netmap queues when netmap is switched off. 2020-12-03 08:30:29 +00:00
t4_sched.c cxgbe(4): Fix min/max typo in r366958. 2020-10-23 02:24:43 +00:00
t4_sge.c cxgbe(4): Stop but don't free netmap queues when netmap is switched off. 2020-12-03 08:30:29 +00:00
t4_smt.c cxgbe(4): Move all control queues to the adapter. 2018-08-11 21:10:08 +00:00
t4_smt.h
t4_tracer.c
t4_vf.c cxgbev(4): Make sure that the iq/eq map sizes are correct for VFs. 2020-11-12 01:18:05 +00:00