-
Notifications
You must be signed in to change notification settings - Fork 582
Try to send inline from DpRawTxEnqueue #2835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Not much improvement regarding latency but throughput seems to be noticeably improved. |
// worker TX queue (used to actually send packets), but only if we don't | ||
// already have anything in the worker TX queue (why?). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mtfriesen I believe you wrote the original logic (which we are just moving here), so could you answer the "why?" part? Why do we only move the TxQueue to the WorkerTxQueue if the WorkerTxQueue is currently empty?
Description
In CxPlatDpRawTxEnqueue, if we are enqueuing a TX packet onto a queue that's polled by the same thread, try to do send the packet inline if it has FIN bit set.
Testing
CI
Documentation
N/A