Page MenuHomeFreeBSD

cxgbei: Use the MTU to compute the data segment lengths.
Needs ReviewPublic

Authored by jhb on May 27 2022, 12:56 AM.
Tags
None
Referenced Files
F137946725: D35333.id106411.diff
Thu, Nov 27, 1:44 PM
Unknown Object (File)
Fri, Nov 14, 2:41 PM
Unknown Object (File)
Wed, Nov 5, 10:40 AM
Unknown Object (File)
Oct 24 2025, 11:48 PM
Unknown Object (File)
Oct 19 2025, 12:56 PM
Unknown Object (File)
Oct 19 2025, 12:56 PM
Unknown Object (File)
Oct 19 2025, 12:56 PM
Unknown Object (File)
Oct 19 2025, 2:50 AM
Subscribers

Details

Reviewers
np
Summary

By default, size the maximum receive data segment length to request
that a PDU fit within a single MSS as this permits the TOE to
avoid having to make an extra copy of received data before sending
it to the host.

Note that using smaller PDUs can add extra overhead to software
initiators and targets, so a per-adapter sysctl is provided
(dev.<nexus>.<unit>.toe.iscsi_mss_dsl) which can be used to disable
this behavior and instead use the largest PDU size supported by the
adapter (which is the previous behavior).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45739
Build 42627: arc lint + arc unit