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

libhns: Support lock-free for data path #1482

Merged
merged 4 commits into from
Jul 7, 2024
Merged

Conversation

hginjgerx
Copy link

This series adds support for thread domain and parent doamin in libhns. When QP/CQ/SRQ are associated to a PAD holding a TD, they'll be set to lock-free mode, and all locks will be drop in data path to improve performance.

Junxian Huang added 4 commits July 5, 2024 16:28
Add support for thread domain (TD) and parent domain (PAD).
Extend the orginal hns_roce_pd struct to hns_roce_pad by
adding the new hns_roce_td struct. When a parent domain
holds a thread domain, the associated data path will be set
to lock-free mode to improve performance.

Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Drop CQ locks when associated to a PAD holding a TD.

Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Drop QP locks when associated to a PAD holding a TD.

Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Drop SRQ locks when associated to a PAD holding a TD.

Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
@rleon rleon merged commit d74b960 into linux-rdma:master Jul 7, 2024
14 checks passed
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