git: a780968e04ba - stable/13 - cxgbei: Don't clamp iSCSI PDUs to 8K.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 29 Oct 2021 23:58:11 UTC
The branch stable/13 has been updated by jhb:

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

commit a780968e04ba763cef66e98a9be5b8d6d7426365
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-05-14 19:17:31 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-10-29 22:59:26 +0000

    cxgbei: Don't clamp iSCSI PDUs to 8K.
    
    The firmware no longer requires this workaround.
    
    Discussed with: np
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D29912
    
    (cherry picked from commit 1ad32ad0bed40be5deb87a36a0564adc994ad47a)
---
 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 419293ec9cdf..f95c9f60163f 100644
--- a/sys/dev/cxgbe/cxgbei/cxgbei.c
+++ b/sys/dev/cxgbe/cxgbei/cxgbei.c
@@ -114,9 +114,6 @@ read_pdu_limits(struct adapter *sc, uint32_t *max_tx_pdu_len,
 	rx_len = min(rx_len, v);
 	tx_len = min(tx_len, v);
 
-	/* Remove after FW_FLOWC_MNEM_TXDATAPLEN_MAX fix in firmware. */
-	tx_len = min(tx_len, 3 * 4096);
-
 	*max_tx_pdu_len = rounddown2(tx_len, 512);
 	*max_rx_pdu_len = rounddown2(rx_len, 512);
 }