git: b5e73dd952f9 - main - cxgbei: Don't assert F for data completion PDUs.

John Baldwin jhb at FreeBSD.org
Mon Jul 19 22:39:29 UTC 2021


The branch main has been updated by jhb:

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

commit b5e73dd952f9d5224e9e076bb9719f7bcec871b0
Author:     John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-07-19 22:36:31 +0000
Commit:     John Baldwin <jhb at 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


More information about the dev-commits-src-all mailing list