CANN/driver RoCE实现
2026/6/6 14:38:25 网站建设 项目流程

RoCE

【免费下载链接】driver本项目是CANN提供的驱动模块,实现基础驱动和资源管理及调度等功能,使能昇腾芯片。项目地址: https://gitcode.com/cann/driver

Overview

RoCE (RDMA over Converged Ethernet) is implemented based on the rdma-core open-source framework. The main customized features include:

  • Control plane encapsulates corresponding lite interfaces for verbs, mapping Device memory to Host memory, supporting context reconstruction on the Host side.
  • Data plane encapsulates corresponding lite interfaces for verbs, enabling direct data plane operations on the Host side based on reconstructed context, improving WR (Work Request) submission and CQ (Complete Queue) polling performance.

Feature Framework

  • The highlighted parts in the feature framework correspond to the code in the driver repository, including the following two parts:

    • RDMA Lite user-space driver:src/ascend_hal/roce/host_lite/
    • Device memory allocation:src/ascend_hal/roce/roce_hal_api/
  • Application in the system

    For example, callingrdma_lite_post_send(lite_qp, lite_send_wr, &lite_send_bad_wr, attr, &resp);to submit WR, you can submit WR on the Host side to directly write WR into the Device-side queue.

  • Application scenario example

    Upper-layer collective communication libraries achieve more advanced collective communication operators (for example, allgather and so on) by combining WR submissions, such as submitting RDMA Write operations.

【免费下载链接】driver本项目是CANN提供的驱动模块,实现基础驱动和资源管理及调度等功能,使能昇腾芯片。项目地址: https://gitcode.com/cann/driver

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询