Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c126 static u32 to_hr_opcode(u32 ib_opcode) in to_hr_opcode() argument
128 if (ib_opcode >= ARRAY_SIZE(hns_roce_op_code)) in to_hr_opcode()
131 return hns_roce_op_code[ib_opcode] ? hns_roce_op_code[ib_opcode] - 1 : in to_hr_opcode()
3793 int ib_opcode; in fill_send_wc() local
3816 ib_opcode = to_ib_wc_send_op(hr_opcode); in fill_send_wc()
3817 if (ib_opcode < 0) in fill_send_wc()
3820 wc->opcode = ib_opcode; in fill_send_wc()
3826 int ib_opcode; in fill_recv_wc() local
3845 ib_opcode = to_ib_wc_recv_op(hr_opcode); in fill_recv_wc()
3846 if (ib_opcode < 0) in fill_recv_wc()
[all …]
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dqp.c946 static int ib_to_fw_opcode(int ib_opcode) in ib_to_fw_opcode() argument
950 switch (ib_opcode) { in ib_to_fw_opcode()