freebsd-dev/sys/dev/cxgbe
John Baldwin 2eb0e53a6b cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close.
A socket in the FIN_WAIT_1 state is marked disconnected by
do_close_con_rpl() even though there might still receive data pending.
This is because the socket at that point has set SBS_CANTRCVMORE which
causes the protocol layer to discard any data received before the FIN.
However, icl_cxgbei_conn_close needs to wait until all the data has
been discarded.  Replace the wait for SS_ISDISCONNECTED with instead
waiting for final_cpl_received() to be called.

Reported by:	Jithesh Arakkan @ Chelsio
Sponsored by:	Chelsio Communications
2021-08-12 08:48:35 -07:00
..
common cxgbe(4): Skip a few more T5/T6 registers during a regdump. 2021-07-13 17:36:40 -07:00
crypto crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
cudbg cxgbe(4): unimplemented cudbg routines should return the correct 2020-10-14 08:04:39 +00:00
cxgbei cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close. 2021-08-12 08:48:35 -07:00
firmware cxgbe(4): Update firmwares to 1.26.0.0. 2021-07-12 21:25:36 -07:00
iw_cxgbe ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
tom cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close. 2021-08-12 08:48:35 -07:00
adapter.h cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
osdep.h cxgbe(4): make the logging helpers a little more robust. 2021-04-22 15:28:43 -07:00
t4_clip.c cxgbe(4): Empty the clib_db before trying to destroy it. 2021-06-04 12:01:14 -07:00
t4_clip.h cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management. 2021-05-23 16:07:29 -07:00
t4_filter.c cxgbe(4): Add support for NIC suspend/resume and live reset. 2021-04-27 22:48:51 -07:00
t4_if.m
t4_ioctl.h cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management. 2021-05-23 16:07:29 -07: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 cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07: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): Separate the sw- and hw-specific parts of resource allocations 2021-04-26 14:09:59 -07:00
t4_sched.c cxgbe(4): Do not configure traffic classes automatically on attach. 2021-06-25 16:04:09 -07:00
t4_sge.c cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
t4_smt.c
t4_smt.h
t4_tracer.c cxgbe(4): Add support for NIC suspend/resume and live reset. 2021-04-27 22:48:51 -07:00
t4_vf.c cxgbe(4): Break up t4_read_chip_settings. 2021-02-18 01:22:42 -08:00