HomeFreeBSD

cxgbei: Adjust the calculation for the maximum ISO payload.

Description

cxgbei: Adjust the calculation for the maximum ISO payload.

Round down the maximim ISO payload by the current MSS. Otherwise the
round up by MSS when calculating the 16-bit maximum payload len passed
along in the FLOWC work request can overflow.

Discussed with: np
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on May 26 2022, 8:38 PM
Parents
rG75e7e3ce34d9: unix: fix incorrect assertion in 4682ac697ce
Branches
Unknown
Tags
Unknown