]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbei: Parse all PDUs received prior to enabling offload mode.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 22 Jan 2022 01:02:16 +0000 (17:02 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 29 Apr 2022 23:03:49 +0000 (16:03 -0700)
commitb08a08f24d7519e85e0dc39e3482cab0dd883ab0
treeedab3b8f6225b72f496d0759daa39395ee8cfe3f
parent62322552c4acbb105644cd1b189e224ee4597a09
cxgbei: Parse all PDUs received prior to enabling offload mode.

Previously this would only handle a single PDU that did not contain
any data.  This should now handle an arbitrary number of PDUs.

While here check for these PDUs in the T6-specific CPL_RX_ISCSI_CMP
handler in addition to CPL_RX_ISCSI_DDP.

Reported by: Jithesh Arakkan @ Chelsio
Sponsored by: Chelsio Communications

(cherry picked from commit a8c4147edcdce934f93dd848c6ed083500dff22c)
sys/dev/cxgbe/cxgbei/cxgbei.c