Page MenuHomeFreeBSD

tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries.
ClosedPublic

Authored by sepherosa_gmail.com on Mar 21 2016, 8:53 AM.
Tags
None
Referenced Files
F133300621: D5695.diff
Fri, Oct 24, 6:42 PM
Unknown Object (File)
Tue, Oct 21, 7:40 AM
Unknown Object (File)
Sat, Oct 18, 11:30 PM
Unknown Object (File)
Sat, Oct 18, 3:49 AM
Unknown Object (File)
Sun, Oct 12, 7:24 PM
Unknown Object (File)
Wed, Oct 1, 9:44 AM
Unknown Object (File)
Sep 2 2025, 12:11 AM
Unknown Object (File)
Jul 26 2025, 10:05 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries..
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)

I have no objection.

However, if you can use the RSS-sorted LRO lro_queue_mbuf() interface, then this should never be a problem.

I have no objection.

However, if you can use the RSS-sorted LRO lro_queue_mbuf() interface, then this should never be a problem.

The difficult part is to pick up a proper mbuf limit, so that we can aggregate "just enough segments/ACKs" per connection under various loads. In the Hyper-V, aggregating too many segments will cause problem like ACK's timeliness, but aggregating not enough segments will waste precious cpu time (virtual cpu is slow).

Well, at least returning a different value does hurt here :)

I plan to commit it tomorrow.

This revision was automatically updated to reflect the committed changes.