Home
last modified time | relevance | path

Searched refs:hr_opcode (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c3761 static int to_ib_wc_send_op(u32 hr_opcode) in to_ib_wc_send_op() argument
3763 if (hr_opcode >= ARRAY_SIZE(wc_send_op_map)) in to_ib_wc_send_op()
3766 return wc_send_op_map[hr_opcode] ? wc_send_op_map[hr_opcode] - 1 : in to_ib_wc_send_op()
3777 static int to_ib_wc_recv_op(u32 hr_opcode) in to_ib_wc_recv_op() argument
3779 if (hr_opcode >= ARRAY_SIZE(wc_recv_op_map)) in to_ib_wc_recv_op()
3782 return wc_recv_op_map[hr_opcode] ? wc_recv_op_map[hr_opcode] - 1 : in to_ib_wc_recv_op()
3788 u32 hr_opcode; in fill_send_wc() local
3793 hr_opcode = hr_reg_read(cqe, CQE_OPCODE); in fill_send_wc()
3794 switch (hr_opcode) { in fill_send_wc()
3812 ib_opcode = to_ib_wc_send_op(hr_opcode); in fill_send_wc()
[all …]