Skip to content

Conversation

@PalakTripathi1
Copy link
Contributor

Added a new helper to extract and display detailed RDS QP state, including source/destination IPs. This enhances visibility into per-connection RDMA QP state via ib_connection traversal.

@oracle-contributor-agreement
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

  • PR author: PalakTripathi1

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels Jul 10, 2025
Copy link

@anandakhoje anandakhoje left a comment

Choose a reason for hiding this comment

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

Please see inline comments.

Copy link

@anandakhoje anandakhoje left a comment

Choose a reason for hiding this comment

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

EQ has to be added for RCQ as well.

Copy link

@anandakhoje anandakhoje left a comment

Choose a reason for hiding this comment

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

Comments inline

Copy link

@anandakhoje anandakhoje left a comment

Choose a reason for hiding this comment

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

This looks good to me.
Reviewed-by: Anand Khoje [email protected]

Copy link
Member

@brenns10 brenns10 left a comment

Choose a reason for hiding this comment

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

Just a couple small updates requested. Also please check the output of the pre-commit hooks here. You can either manually apply the changes shown there, or setup pre-commit (documented in the drgn-tools developer workflow) and use pre-commit run --all-files to automatically apply fixes.

@brenns10
Copy link
Member

Another thing - can you file a bug for these RDS improvements (targetting "next" -- this is also covered in the workflow doc). Then include the "Orabug: " statement in the commit messages? It can be the one Orabug for both this and #176.

Copy link
Member

@brenns10 brenns10 left a comment

Choose a reason for hiding this comment

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

Sorry, the changes here caused a new issue. Please setup & run pre-commit, as it is able to catch these, and automatically apply all the style changes it's complaining about.
Or check the CI run and apply the changes manually, if you don't want to use pre-commit.

@oracle-contributor-agreement
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

  • PR author: PalakTripathi1

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. and removed OCA Verified All contributors have signed the Oracle Contributor Agreement. labels Jul 23, 2025
PalakTripathi1 and others added 2 commits July 23, 2025 10:22
Added a new helper to extract and display detailed RDS QP state, including
source/destination IPs. This enhances visibility into per-connection RDMA hardware
state via ib_connection traversal.

Useful for debugging, states and RDMA mapping.

Orabug: 38221449

Signed-off-by: Palak Tripathi <[email protected]>
Reviewed-by: Anand Khoje <[email protected]>
Reviewed-by: Stephen Brennan <[email protected]>
Fixes: 928e8ae ("rds.py: Added RDMA restrack resource usage in rds.py script")

Signed-off-by: Stephen Brennan <[email protected]>
Copy link
Member

@brenns10 brenns10 left a comment

Choose a reason for hiding this comment

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

I've gone ahead and resolved the FaultError and the pre-commit hook items from both this and #176. Will merge once the tests pass.

@brenns10 brenns10 merged commit 78dcbaf into oracle-samples:main Jul 23, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants