Skip to content
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

UCT/IB/MLX5: Refactor KSM functions and extend logging #9472

Merged

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Nov 7, 2023

Why

Improve KSM debug logging

@brminich
Copy link
Contributor

brminich commented Nov 7, 2023

seems it affects the code which is significantly modified in #9424

@yosefe
Copy link
Contributor Author

yosefe commented Nov 8, 2023

seems it affects the code which is significantly modified in #9424

Yes, we'll merge #9424 first

@yosefe yosefe force-pushed the topic/uct-ib-mlx5-print-ksm-details-to branch from 11acda2 to d20602c Compare January 14, 2024 15:50
@yosefe
Copy link
Contributor Author

yosefe commented Jan 14, 2024

@ivankochin @brminich can you pls take a look?

Comment on lines 208 to 213
if (reason != NULL) {
ucs_trace("%s: initialize ksm_data_addr list for %s address 0x%lx "
"length %zu iova 0x%" PRIx64,
uct_ib_device_name(&md->super.dev), reason, address, length,
iova);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: can be inline func and reused also in uct_ib_mlx5_devx_reg_ksm_data_mt (together with check reason != NULL)

src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Outdated Show resolved Hide resolved
src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Outdated Show resolved Hide resolved
src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Show resolved Hide resolved
src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Outdated Show resolved Hide resolved
src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Show resolved Hide resolved
src/uct/ib/mlx5/dv/ib_mlx5dv_md.c Show resolved Hide resolved
@ivankochin
Copy link
Contributor

BTW it seems like the title of this PR doesn't fully represent the content anymore.

@yosefe yosefe changed the title UCT/IB/MLX5: Print KSM details to log UCT/IB/MLX5: Refactor KSM functions and print logging Jan 16, 2024
@yosefe yosefe changed the title UCT/IB/MLX5: Refactor KSM functions and print logging UCT/IB/MLX5: Refactor KSM functions and extend logging Jan 16, 2024
@yosefe yosefe force-pushed the topic/uct-ib-mlx5-print-ksm-details-to branch from ed3e63e to eaf7877 Compare January 17, 2024 15:13
@yosefe yosefe enabled auto-merge January 17, 2024 15:14
@yosefe yosefe merged commit 5d7862d into openucx:master Jan 18, 2024
122 checks passed
@yosefe yosefe deleted the topic/uct-ib-mlx5-print-ksm-details-to branch January 18, 2024 14:00
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.

3 participants