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

Commits on Jul 5, 2024

  1. libhns: Add support for thread domain and parent domain

    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>
    Junxian Huang authored and Junxian Huang committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ae35032 View commit details
    Browse the repository at this point in the history
  2. libhns: Add support for lock-free CQ

    Drop CQ locks when associated to a PAD holding a TD.
    
    Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
    Junxian Huang authored and Junxian Huang committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8c865c3 View commit details
    Browse the repository at this point in the history
  3. libhns: Add support for lock-free QP

    Drop QP locks when associated to a PAD holding a TD.
    
    Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
    Junxian Huang authored and Junxian Huang committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    179f015 View commit details
    Browse the repository at this point in the history
  4. libhns: Add support for lock-free SRQ

    Drop SRQ locks when associated to a PAD holding a TD.
    
    Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
    Junxian Huang authored and Junxian Huang committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b38bae4 View commit details
    Browse the repository at this point in the history