The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=fca740e2d21008faec0d81426259470b452704e6

commit fca740e2d21008faec0d81426259470b452704e6
Author:     John Baldwin <[email protected]>
AuthorDate: 2025-11-10 15:50:48 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2025-11-10 15:50:48 +0000

    cxgbe tom: Don't require exact match for TCP seqno for FIN for NVMe offload
    
    Similar to iSCSI on T6+, additional DDP data might have been received
    without a completion posted if a connection was closed in the middle
    of a transfer.
    
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/tom/t4_cpl_io.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c
index 10f4f91f8db6..4f0dbb07061b 100644
--- a/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ b/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -1787,7 +1787,8 @@ do_peer_close(struct sge_iq *iq, const struct rss_header 
*rss, struct mbuf *m)
        socantrcvmore(so);
 
        if (ulp_mode(toep) == ULP_MODE_RDMA ||
-           (ulp_mode(toep) == ULP_MODE_ISCSI && chip_id(sc) >= CHELSIO_T6)) {
+           (ulp_mode(toep) == ULP_MODE_ISCSI && chip_id(sc) >= CHELSIO_T6) ||
+           ulp_mode(toep) == ULP_MODE_NVMET) {
                /*
                 * There might be data received via DDP before the FIN
                 * not reported to the driver.  Just assume the

Reply via email to