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, Dec 10, 5:41 AM
Unknown Object (File)
Nov 22 2024, 4:55 PM
Unknown Object (File)
Nov 17 2024, 6:14 PM
Unknown Object (File)
Oct 5 2024, 4:53 AM
Unknown Object (File)
Oct 4 2024, 7:05 AM
Unknown Object (File)
Oct 2 2024, 8:26 AM
Unknown Object (File)
Sep 30 2024, 1:45 PM
Unknown Object (File)
Sep 30 2024, 4:38 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