Page MenuHomeFreeBSD

tcp_hpts: rename input queue to drop queue and trim dead code
ClosedPublic

Authored by glebius on Nov 16 2021, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 3:43 AM
Unknown Object (File)
Wed, Oct 30, 4:46 PM
Unknown Object (File)
Sun, Oct 20, 8:48 AM
Unknown Object (File)
Sun, Oct 20, 8:48 AM
Unknown Object (File)
Sun, Oct 20, 8:48 AM
Unknown Object (File)
Sun, Oct 20, 8:18 AM
Unknown Object (File)
Fri, Oct 18, 5:48 AM
Unknown Object (File)
Oct 2 2024, 11:48 AM
Subscribers

Details

Summary

The HPTS input queue is in reality used only for "delayed drops".
When a TCP stack decides to drop a connection on the input path
it can't do that due to locking protocol between main tcp_input()
and stacks. So, rack/bbr utilize HPTS to drop the connection in
a different context.

In the past the queue could also process input packets in context
of HPTS thread, but now no stack uses this, so remove this
functionality.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42883
Build 39771: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 17 2021, 7:23 PM
This revision now requires review to proceed.Nov 19 2021, 4:41 AM
This revision is now accepted and ready to land.Dec 2 2021, 7:46 PM