Skip to content

support tx timestamp#46

Merged
wokron merged 5 commits into
masterfrom
tx-timestamp
Feb 15, 2026
Merged

support tx timestamp#46
wokron merged 5 commits into
masterfrom
tx-timestamp

Conversation

@wokron
Copy link
Copy Markdown
Member

@wokron wokron commented Feb 15, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for receiving socket TX timestamps via io_uring by introducing a multishot uring_cmd async operation and a dedicated CQE handler, along with documentation and a new test to validate the behavior.

Changes:

  • Add condy::async_uring_cmd_multishot() to support multishot IORING_OP_URING_CMD workflows.
  • Introduce TxTimestampResult / TxTimestampCQEHandler for parsing TX timestamp CQE32 payloads.
  • Add a Linux socket-based test case covering TX timestamp events and update ops documentation to list the new API.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tests/test_async_operations.4.cpp Adds a new test exercising multishot uring_cmd TX timestamp collection.
include/condy/cqe_handler.hpp Adds a shared CQE32-check helper and a TX timestamp CQE handler/result struct.
include/condy/async_operations.hpp Introduces async_uring_cmd_multishot() API wrapper.
docs/ops.md Documents the new multishot uring_cmd operation in the ops list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_async_operations.4.cpp
Comment thread include/condy/cqe_handler.hpp
Comment thread include/condy/async_operations.hpp
@wokron wokron merged commit d120194 into master Feb 15, 2026
17 checks passed
@wokron wokron deleted the tx-timestamp branch February 15, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants