Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c496 struct hinic_sq_wqe *sq_wqe; in hinic_lb_xmit_frame() local
511 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame()
512 if (!sq_wqe) { in hinic_lb_xmit_frame()
515 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame()
516 if (sq_wqe) { in hinic_lb_xmit_frame()
532 hinic_sq_prepare_wqe(txq->sq, prod_idx, sq_wqe, txq->sges, nr_sges); in hinic_lb_xmit_frame()
533 hinic_sq_write_wqe(txq->sq, prod_idx, sq_wqe, skb, wqe_size); in hinic_lb_xmit_frame()
557 struct hinic_sq_wqe *sq_wqe; in hinic_xmit_frame() local
592 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame()
593 if (!sq_wqe) { in hinic_xmit_frame()
[all …]
Dhinic_hw_qp.c597 struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_prepare_wqe() argument
602 sq_prepare_ctrl(&sq_wqe->ctrl, prod_idx, nr_sges); in hinic_sq_prepare_wqe()
604 sq_prepare_task(&sq_wqe->task); in hinic_sq_prepare_wqe()
607 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe()
669 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe()
691 struct hinic_sq_wqe *sq_wqe, in hinic_sq_write_wqe() argument
694 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe()
699 hinic_cpu_to_be32(sq_wqe, wqe_size); in hinic_sq_write_wqe()
719 struct hinic_sq_wqe *sq_wqe; in hinic_sq_read_wqebb() local
731 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
[all …]
Dhinic_hw_wqe.h450 struct hinic_sq_wqe sq_wqe; member
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c2183 struct hns_roce_wqe_ctrl_seg *sq_wqe; in hns_roce_v1_poll_one() local
2280 sq_wqe = hns_roce_get_send_wqe(*cur_qp, in hns_roce_v1_poll_one()
2285 switch (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_OPCODE_MASK) { in hns_roce_v1_poll_one()
2306 wc->wc_flags = (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_IMM ? in hns_roce_v1_poll_one()