git: a47b1c6f8fbe - stable/13 - cxgbei: Don't assert F for data completion PDUs.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Oct 2021 23:58:24 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a47b1c6f8fbe02862e1a263c92a4a0fcd54dff4d commit a47b1c6f8fbe02862e1a263c92a4a0fcd54dff4d Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-07-19 22:36:31 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-10-29 23:13: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 (cherry picked from commit b5e73dd952f9d5224e9e076bb9719f7bcec871b0) --- 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