Page MenuHomeFreeBSD

cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly.
ClosedPublic

Authored by np on Thu, Oct 10, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 11:13 AM
Unknown Object (File)
Sat, Oct 19, 9:09 PM
Unknown Object (File)
Thu, Oct 17, 5:48 PM
Unknown Object (File)
Sat, Oct 12, 10:30 AM
Subscribers

Details

Summary

A hardware IPv6 server needs 2 consecutive stids (server tids) that
start at 2-alignment whereas an IPv4 server needs only 1 stid without
any constraint. The allocator used to grab the first free stid(s) for
both but this can fragment the stid space leaving nothing suitable for
IPv6 even when lots of stids are available. Change the allocator to
prefer stids for IPv4 out of those that cannot be used for IPv6.

MFC after: 1 week
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable