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)
Feb 22 2024, 1:21 AM
Unknown Object (File)
Feb 5 2024, 2:55 PM
Unknown Object (File)
Jan 11 2024, 1:17 PM
Unknown Object (File)
Dec 20 2023, 1:41 AM
Unknown Object (File)
Dec 11 2023, 6:21 PM
Unknown Object (File)
Dec 3 2023, 8:52 PM
Unknown Object (File)
Nov 12 2023, 4:30 PM
Unknown Object (File)
Nov 10 2023, 4:34 PM
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