Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c199 struct hinic_rq_wqe *rq_wqe; in rx_alloc_pkts() local
222 rq_wqe = hinic_rq_get_wqe(rxq->rq, HINIC_RQ_WQE_SIZE, in rx_alloc_pkts()
224 if (!rq_wqe) { in rx_alloc_pkts()
229 hinic_rq_prepare_wqe(rxq->rq, prod_idx, rq_wqe, &sge); in rx_alloc_pkts()
231 hinic_rq_write_wqe(rxq->rq, prod_idx, rq_wqe, skb); in rx_alloc_pkts()
259 hinic_rq_get_sge(rq, &hw_wqe->rq_wqe, ci, &sge); in free_all_rx_skbs()
280 struct hinic_rq_wqe *rq_wqe; in rx_recv_jumbo_pkt() local
286 rq_wqe = hinic_rq_read_next_wqe(rxq->rq, HINIC_RQ_WQE_SIZE, in rx_recv_jumbo_pkt()
291 hinic_rq_get_sge(rxq->rq, rq_wqe, ci, &sge); in rx_recv_jumbo_pkt()
332 struct hinic_rq_wqe *rq_wqe; in rxq_recv() local
[all …]
Dhinic_hw_qp.c803 return &hw_wqe->rq_wqe; in hinic_rq_get_wqe()
814 struct hinic_rq_wqe *rq_wqe, struct sk_buff *skb) in hinic_rq_write_wqe() argument
816 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)rq_wqe; in hinic_rq_write_wqe()
821 hinic_cpu_to_be32(rq_wqe, sizeof(*rq_wqe)); in hinic_rq_write_wqe()
823 hinic_write_wqe(rq->wq, hw_wqe, sizeof(*rq_wqe)); in hinic_rq_write_wqe()
858 return &hw_wqe->rq_wqe; in hinic_rq_read_wqe()
888 return &hw_wqe->rq_wqe; in hinic_rq_read_next_wqe()
920 void hinic_rq_get_sge(struct hinic_rq *rq, struct hinic_rq_wqe *rq_wqe, in hinic_rq_get_sge() argument
926 sge->hi_addr = be32_to_cpu(rq_wqe->buf_desc.hi_addr); in hinic_rq_get_sge()
927 sge->lo_addr = be32_to_cpu(rq_wqe->buf_desc.lo_addr); in hinic_rq_get_sge()
[all …]
Dhinic_hw_wqe.h451 struct hinic_rq_wqe rq_wqe; member
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h229 #define BNXT_QPLIB_MAX_RQE_ENTRY_SIZE sizeof(struct rq_wqe)
Dqplib_fp.c664 struct rq_wqe *srqe, **srqe_ptr; in bnxt_qplib_post_srq_recv()
682 srqe_ptr = (struct rq_wqe **)srq_hwq->pbl_ptr; in bnxt_qplib_post_srq_recv()
1826 struct rq_wqe *rqe, **rqe_ptr; in bnxt_qplib_post_recv()
1848 rqe_ptr = (struct rq_wqe **)rq->hwq.pbl_ptr; in bnxt_qplib_post_recv()
Droce_hsi.h422 struct rq_wqe { struct