Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2021 22:39:28 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b5e73dd952f9 - main - cxgbei: Don't assert F for data completion PDUs.
Message-ID:  <202107192239.16JMdSSM044629@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit b5e73dd952f9d5224e9e076bb9719f7bcec871b0
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-07-19 22:36:31 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-07-19 22:36:31 +0000

    cxgbei: Don't assert F for data completion PDUs.
    
    If a data PDU encounters an error such as a digest error, the firmware
    will report that data PDU when completion moderation is active even if
    it is not the final data PDU in a burst.
    
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/cxgbei/cxgbei.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/dev/cxgbe/cxgbei/cxgbei.c b/sys/dev/cxgbe/cxgbei/cxgbei.c
index 5135fc68d197..5cce7d3fce05 100644
--- a/sys/dev/cxgbe/cxgbei/cxgbei.c
+++ b/sys/dev/cxgbe/cxgbei/cxgbei.c
@@ -552,9 +552,6 @@ do_rx_iscsi_cmp(struct sge_iq *iq, const struct rss_header *rss, struct mbuf *m)
 		}
 		MPASS(cmp != NULL);
 
-		/* Must be the final PDU. */
-		MPASS(bhsdo->bhsdo_flags & BHSDO_FLAGS_F);
-
 		/*
 		 * The difference between the end of the last burst
 		 * and the offset of the last PDU in this burst is



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107192239.16JMdSSM044629>