freebsd-dev/sys/dev/cxgbe
John Baldwin d59f1c49e2 cxgbe tom: Permit rcv_nxt mismatches on FIN for iSCSI connections on T6.
The remote peer might send a FIN in the middle of a burst of data
PDUs.  In the case of T6 with data PDU completion moderation, the
driver would not have seen these PDUs since the final PDU in the burst
was never received resulting in a stale rcv_nxt when the FIN is
received.

While here, invert the logic in the condition to be more readable and
always set tp->rcv_nxt from the sequence number in the CPL.  This sets
the proper value of rcv_nxt for FINs on connections with data received
but not reported via a CPL (e.g. a partial iSCSI PDU burst interrupted
by a FIN).

Reported by:	Jithesh Arakkan @ Chelsio
Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D30871
2021-08-02 09:41:27 -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: Round up the maximum PDU data length by the MSS for TXDATAPLEN_MAX. 2021-07-30 13:27:24 -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 cxgbe tom: Permit rcv_nxt mismatches on FIN for iSCSI connections on T6. 2021-08-02 09:41:27 -07:00
adapter.h crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h cxgbe/t4_tom: Implement tod_pmtu_update. 2021-04-22 14:48:57 -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 cxgbe(4): Do not configure traffic classes automatically on attach. 2021-06-25 16:04:09 -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 cxgbe(4): Initialize abs_id for ctrl and ofld queues. 2021-07-20 00:54:13 -07:00
t4_smt.c cxgbe(4): Move all control queues to the adapter. 2018-08-11 21:10:08 +00:00
t4_smt.h cxgbe(4): Retire an old check. 2018-06-01 01:05:34 +00:00
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