HomeFreeBSD

cxgbei: Restructure how PDU limits are managed.

Description

cxgbei: Restructure how PDU limits are managed.

  • Compute data segment limits in read_pdu_limits() rather than PDU length limits.
  • Add back connection-specific PDU overhead lengths to compute PDU length limits in icl_cxgbei_conn_handoff().

Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D31574

(cherry picked from commit cbc186360c658eda884ed97f37cdc2d1b6512b91)

Details

Provenance
jhbAuthored on Aug 17 2021, 6:14 PM
Reviewer
np
Differential Revision
D31574: cxgbei: Restructure how PDU limits are managed.
Parents
rG37c5daa85596: cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close.
Branches
Unknown
Tags
Unknown