Page MenuHomeFreeBSD

net/tso: use the most restrictive segment size to perform the calculations
Needs ReviewPublic

Authored by royger on May 31 2016, 7:32 AM.

Details

Reviewers
None
Group Reviewers
network
transport
Summary

The current TSO segment size accounting code was not taking into account
that the link segment size can be smaller than the maximum segment size
supported by the network card. Without this change, the if_hw_tsomaxsegcount
limit could be ignored, and the mbuf chain created by the TSO code could
indeed have more segments than supported.

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 4043
Build 4086: arc lint + arc unit

Event Timeline

royger retitled this revision from to net/tso: use the most restrictive segment size to perform the calculations.May 31 2016, 7:32 AM
royger updated this object.
royger edited the test plan for this revision. (Show Details)
royger updated this revision to Diff 17139.