Page MenuHomeFreeBSD

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

Authored by np on Oct 10 2024, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 9:30 AM
Unknown Object (File)
Thu, Nov 14, 4:31 PM
Unknown Object (File)
Thu, Nov 7, 8:26 PM
Unknown Object (File)
Thu, Nov 7, 3:03 PM
Unknown Object (File)
Wed, Nov 6, 6:41 PM
Unknown Object (File)
Wed, Nov 6, 6:34 PM
Unknown Object (File)
Sat, Nov 2, 11:13 AM
Unknown Object (File)
Oct 19 2024, 9:09 PM
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