freebsd-nq/sys/dev/cxgbe/tom
John Baldwin 8a82be5044 Handle CPL_RX_DATA on active TLS sockets.
In certain edge cases, the NIC might have only received a partial TLS
record which it needs to return to the driver.  For example, if the
local socket was closed while data was still in flight, a partial TLS
record might be pending when the connection is closed.  Receiving a
RST in the middle of a TLS record is another example.  When this
happens, the firmware returns the the partial TLS record as plain TCP
data via CPL_RX_DATA.  Handle these requests by returning an error to
OpenSSL (via so_error for KTLS or via an error TLS record header for
the older Chelsio OpenSSL interface).

Reported by:	Sony Arpita Das @ Chelsio
Reviewed by:	np
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	Revision: https://reviews.freebsd.org/D26800
2020-10-23 00:23:54 +00:00
..
t4_connect.c Convert TOE routing lookups to the new routing KPI. 2020-04-22 07:53:43 +00:00
t4_cpl_io.c Handle CPL_RX_DATA on active TLS sockets. 2020-10-23 00:23:54 +00:00
t4_ddp.c Change synchonization rules for vm_page reference counting. 2019-09-09 21:32:42 +00:00
t4_listen.c cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. 2020-10-02 23:48:57 +00:00
t4_tls.c Handle CPL_RX_DATA on active TLS sockets. 2020-10-23 00:23:54 +00:00
t4_tls.h Re-enable receive flow control for TOE TLS sockets. 2020-10-19 20:08:50 +00:00
t4_tom_l2t.c cxgbe/tom: Put the ifnet or VLAN's PCP value in the 802.1Q tag of frames 2018-08-17 19:22:46 +00:00
t4_tom_l2t.h
t4_tom.c Re-enable receive flow control for TOE TLS sockets. 2020-10-19 20:08:50 +00:00
t4_tom.h Handle CPL_RX_DATA on active TLS sockets. 2020-10-23 00:23:54 +00:00