mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

High-performance-network

Threads by month
  • ----- 2026 -----
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
high-performance-network@openeuler.org

December 2025

  • 1 participants
  • 1 discussions
[PATCH rdma-core 1/2] libhns: Fix wrong WQE data in new post send API when QP wraps around
by Junxian Huang 30 Dec '25

30 Dec '25
The modification in the fixes commit should also be applied to new post send API. Fixes: 15adbcf23df2 ("libhns: Fix wrong WQE data when QP wraps around") Signed-off-by: Junxian Huang <huangjunxian6(a)hisilicon.com> --- providers/hns/hns_roce_u_hw_v2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/hns/hns_roce_u_hw_v2.c b/providers/hns/hns_roce_u_hw_v2.c index fd266b10c..932d778e3 100644 --- a/providers/hns/hns_roce_u_hw_v2.c +++ b/providers/hns/hns_roce_u_hw_v2.c @@ -2111,6 +2111,7 @@ init_rc_wqe(struct hns_roce_qp *qp, uint64_t wr_id, unsigned int opcode) wqe_idx = qp->sq.head & (qp->sq.wqe_cnt - 1); wqe = get_send_wqe(qp, wqe_idx); + wqe->byte_4 = 0; hr_reg_write(wqe, RCWQE_OPCODE, opcode); hr_reg_write_bool(wqe, RCWQE_CQE, send_flags & IBV_SEND_SIGNALED); hr_reg_write_bool(wqe, RCWQE_FENCE, send_flags & IBV_SEND_FENCE); @@ -2453,6 +2454,7 @@ init_ud_wqe(struct hns_roce_qp *qp, uint64_t wr_id, unsigned int opcode) wqe_idx = qp->sq.head & (qp->sq.wqe_cnt - 1); wqe = get_send_wqe(qp, wqe_idx); + wqe->rsv_opcode = 0; hr_reg_write(wqe, UDWQE_OPCODE, opcode); hr_reg_write_bool(wqe, UDWQE_CQE, send_flags & IBV_SEND_SIGNALED); hr_reg_write_bool(wqe, UDWQE_SE, send_flags & IBV_SEND_SOLICITED); -- 2.33.0
1 1
0 0

HyperKitty Powered by HyperKitty