Page MenuHomeFreeBSD

tcp: initialize the LRO hash table correctly
ClosedPublic

Authored by tuexen on Aug 20 2024, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 20, 3:29 PM
Unknown Object (File)
Tue, Mar 11, 4:44 AM
Unknown Object (File)
Sat, Feb 22, 2:12 PM
Unknown Object (File)
Sat, Feb 22, 1:40 PM
Unknown Object (File)
Feb 8 2025, 10:25 AM
Unknown Object (File)
Feb 4 2025, 9:50 PM
Unknown Object (File)
Feb 4 2025, 4:40 AM
Unknown Object (File)
Feb 4 2025, 2:32 AM

Details

Summary

There will at most lro_entries entries in the LRO hash table. So no need to take lro_mbufs into account, which only results in the LRO hash table being too large and therefore wasting memory.

Diff Detail

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