Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c183 struct hinic_sq_wqe *sq_wqe; in hinic_xmit_frame() local
213 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame()
214 if (!sq_wqe) { in hinic_xmit_frame()
220 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame()
221 if (sq_wqe) { in hinic_xmit_frame()
237 hinic_sq_prepare_wqe(txq->sq, prod_idx, sq_wqe, txq->sges, nr_sges); in hinic_xmit_frame()
239 hinic_sq_write_wqe(txq->sq, prod_idx, sq_wqe, skb, wqe_size); in hinic_xmit_frame()
280 struct hinic_sq_wqe *sq_wqe; in free_all_tx_skbs() local
286 while ((sq_wqe = hinic_sq_read_wqebb(sq, &skb, &wqe_size, &ci))) { in free_all_tx_skbs()
287 sq_wqe = hinic_sq_read_wqe(sq, &skb, wqe_size, &ci); in free_all_tx_skbs()
[all …]
Dhinic_hw_qp.c541 struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_prepare_wqe() argument
546 sq_prepare_ctrl(&sq_wqe->ctrl, prod_idx, nr_sges); in hinic_sq_prepare_wqe()
548 sq_prepare_task(&sq_wqe->task); in hinic_sq_prepare_wqe()
551 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe()
612 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe()
624 struct hinic_sq_wqe *sq_wqe, in hinic_sq_write_wqe() argument
627 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe()
632 hinic_cpu_to_be32(sq_wqe, wqe_size); in hinic_sq_write_wqe()
652 struct hinic_sq_wqe *sq_wqe; in hinic_sq_read_wqebb() local
664 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
[all …]
Dhinic_hw_wqe.h363 struct hinic_sq_wqe sq_wqe; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c2232 struct hns_roce_wqe_ctrl_seg *sq_wqe; in hns_roce_v1_poll_one() local
2329 sq_wqe = get_send_wqe(*cur_qp, roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2333 switch (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_OPCODE_MASK) { in hns_roce_v1_poll_one()
2354 wc->wc_flags = (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_IMM ? in hns_roce_v1_poll_one()