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
Unknown Object (File)
Tue, Oct 7, 11:03 PM
Unknown Object (File)
Fri, Oct 3, 11:18 PM
Unknown Object (File)
Sep 10 2025, 10:09 AM
Unknown Object (File)
Sep 9 2025, 12:03 PM
Unknown Object (File)
Sep 2 2025, 4:12 PM
Unknown Object (File)
Sep 2 2025, 3:42 PM
Unknown Object (File)
Aug 30 2025, 5:22 PM
Unknown Object (File)
Aug 15 2025, 9:32 PM
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