Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c170 struct hinic_rq_wqe *rq_wqe; in rx_alloc_pkts() local
193 rq_wqe = hinic_rq_get_wqe(rxq->rq, HINIC_RQ_WQE_SIZE, in rx_alloc_pkts()
195 if (!rq_wqe) { in rx_alloc_pkts()
200 hinic_rq_prepare_wqe(rxq->rq, prod_idx, rq_wqe, &sge); in rx_alloc_pkts()
202 hinic_rq_write_wqe(rxq->rq, prod_idx, rq_wqe, skb); in rx_alloc_pkts()
231 hinic_rq_get_sge(rq, &hw_wqe->rq_wqe, ci, &sge); in free_all_rx_skbs()
263 struct hinic_rq_wqe *rq_wqe; in rx_recv_jumbo_pkt() local
269 rq_wqe = hinic_rq_read_next_wqe(rxq->rq, HINIC_RQ_WQE_SIZE, in rx_recv_jumbo_pkt()
274 hinic_rq_get_sge(rxq->rq, rq_wqe, ci, &sge); in rx_recv_jumbo_pkt()
313 struct hinic_rq_wqe *rq_wqe; in rxq_recv() local
[all …]
Dhinic_hw_qp.c741 return &hw_wqe->rq_wqe; in hinic_rq_get_wqe()
752 struct hinic_rq_wqe *rq_wqe, struct sk_buff *skb) in hinic_rq_write_wqe() argument
754 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)rq_wqe; in hinic_rq_write_wqe()
759 hinic_cpu_to_be32(rq_wqe, sizeof(*rq_wqe)); in hinic_rq_write_wqe()
761 hinic_write_wqe(rq->wq, hw_wqe, sizeof(*rq_wqe)); in hinic_rq_write_wqe()
796 return &hw_wqe->rq_wqe; in hinic_rq_read_wqe()
826 return &hw_wqe->rq_wqe; in hinic_rq_read_next_wqe()
858 void hinic_rq_get_sge(struct hinic_rq *rq, struct hinic_rq_wqe *rq_wqe, in hinic_rq_get_sge() argument
864 sge->hi_addr = be32_to_cpu(rq_wqe->buf_desc.hi_addr); in hinic_rq_get_sge()
865 sge->lo_addr = be32_to_cpu(rq_wqe->buf_desc.lo_addr); in hinic_rq_get_sge()
[all …]
Dhinic_hw_wqe.h364 struct hinic_rq_wqe rq_wqe; member
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h229 #define BNXT_QPLIB_MAX_RQE_ENTRY_SIZE sizeof(struct rq_wqe)
Dqplib_fp.c658 struct rq_wqe *srqe, **srqe_ptr; in bnxt_qplib_post_srq_recv()
676 srqe_ptr = (struct rq_wqe **)srq_hwq->pbl_ptr; in bnxt_qplib_post_srq_recv()
1808 struct rq_wqe *rqe, **rqe_ptr; in bnxt_qplib_post_recv()
1831 rqe_ptr = (struct rq_wqe **)rq->hwq.pbl_ptr; in bnxt_qplib_post_recv()
Droce_hsi.h395 struct rq_wqe { struct