git: 1ad32ad0bed4 - main - cxgbei: Don't clamp iSCSI PDUs to 8K.
John Baldwin
jhb at FreeBSD.org
Fri May 14 19:22:00 UTC 2021
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=1ad32ad0bed40be5deb87a36a0564adc994ad47a
commit 1ad32ad0bed40be5deb87a36a0564adc994ad47a
Author: John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-05-14 19:17:31 +0000
Commit: John Baldwin <jhb at FreeBSD.org>
CommitDate: 2021-05-14 19:21:24 +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
---
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);
}
More information about the dev-commits-src-main
mailing list