Home
last modified time | relevance | path

Searched refs:txreq (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c71 struct sdma_txreq txreq; member
80 static void vnic_sdma_complete(struct sdma_txreq *txreq, in vnic_sdma_complete() argument
83 struct vnic_txreq *tx = container_of(txreq, struct vnic_txreq, txreq); in vnic_sdma_complete()
86 sdma_txclean(vnic_sdma->dd, txreq); in vnic_sdma_complete()
98 &tx->txreq, in build_vnic_ulp_payload()
109 &tx->txreq, in build_vnic_ulp_payload()
118 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, in build_vnic_ulp_payload()
134 &tx->txreq, in build_vnic_tx_desc()
149 &tx->txreq, in build_vnic_tx_desc()
197 &tx->txreq, vnic_sdma->pkts_sent); in hfi1_vnic_send_dma()
[all …]
Dipoib_tx.c34 struct sdma_txreq txreq; member
135 sdma_txclean(priv->dd, &tx->txreq); in hfi1_ipoib_free_tx()
219 static void hfi1_ipoib_sdma_complete(struct sdma_txreq *txreq, int status) in hfi1_ipoib_sdma_complete() argument
221 struct ipoib_txreq *tx = container_of(txreq, struct ipoib_txreq, txreq); in hfi1_ipoib_sdma_complete()
232 struct sdma_txreq *txreq = &tx->txreq; in hfi1_ipoib_build_ulp_payload() local
238 ret = sdma_txadd_kvaddr(dd, txreq, skb->data, skb_headlen(skb)); in hfi1_ipoib_build_ulp_payload()
247 txreq, in hfi1_ipoib_build_ulp_payload()
262 struct sdma_txreq *txreq = &tx->txreq; in hfi1_ipoib_build_tx_desc() local
268 ret = sdma_txinit(txreq, 0, pkt_bytes, hfi1_ipoib_sdma_complete); in hfi1_ipoib_build_tx_desc()
274 txreq, in hfi1_ipoib_build_tx_desc()
[all …]
Dverbs_txreq.h60 struct sdma_txreq txreq; member
95 tx->txreq.num_desc = 0; in get_txreq()
98 tx->txreq.flags = 0; in get_txreq()
104 return &tx->txreq; in get_sdma_txreq()
113 return container_of(stx, struct verbs_txreq, txreq); in get_waiting_verbs_txreq()
Duser_sdma.c81 static void user_sdma_txreq_cb(struct sdma_txreq *txreq, int status);
105 struct sdma_txreq *txreq,
128 struct sdma_txreq *txreq, in defer_packet_queue() argument
136 if (sdma_progress(sde, seq, txreq)) in defer_packet_queue()
725 ret = sdma_txinit_ahg(&tx->txreq, SDMA_TXREQ_F_AHG_COPY, in user_sdma_txadd_ahg()
730 ret = sdma_txadd_kvaddr(pq->dd, &tx->txreq, &tx->hdr, sizeof(tx->hdr)); in user_sdma_txadd_ahg()
732 sdma_txclean(pq->dd, &tx->txreq); in user_sdma_txadd_ahg()
756 ret = sdma_txadd_page(pq->dd, &tx->txreq, iovec->pages[pageidx], in user_sdma_txadd()
888 ret = sdma_txinit(&tx->txreq, 0, sizeof(req->hdr) + in user_sdma_send_pkts()
924 list_add_tail(&tx->txreq.list, &req->txps); in user_sdma_send_pkts()
[all …]
Dverbs.c632 container_of(cookie, struct verbs_txreq, txreq); in verbs_sdma_complete()
679 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem()
713 &tx->txreq, in build_verbs_ulp_payload()
782 &tx->txreq, in build_verbs_tx_desc()
796 &tx->txreq, in build_verbs_tx_desc()
803 &tx->txreq, in build_verbs_tx_desc()
823 ret = sdma_txadd_daddr(sde->dd, &tx->txreq, in build_verbs_tx_desc()
865 if (!sdma_txreq_built(&tx->txreq)) { in hfi1_verbs_send_dma()
894 ret = sdma_send_txreq(tx->sde, ps->wait, &tx->txreq, ps->pkts_sent); in hfi1_verbs_send_dma()
942 list_add_tail(&ps->s_txreq->txreq.list, in pio_wait()
[all …]
Dverbs_txreq.c69 sdma_txclean(dd_from_dev(dev), &tx->txreq); in hfi1_put_txreq()
Duser_sdma.h238 struct sdma_txreq txreq; member
Dqp.c160 container_of(tx, struct verbs_txreq, txreq)); in flush_list_head()
484 struct verbs_txreq *tx = container_of(stx, struct verbs_txreq, txreq); in iowait_sleep()
Drc.c391 ps->s_txreq->txreq.flags |= SDMA_TXREQ_F_VIP; in make_rc_ack()
Dtid_rdma.c5306 ps->s_txreq->txreq.flags |= SDMA_TXREQ_F_VIP; in make_tid_rdma_ack()
/kernel/linux/linux-5.10/drivers/net/xen-netback/
Dnetback.c919 struct xen_netif_tx_request txreq; in xenvif_tx_build_gops() local
946 RING_COPY_REQUEST(&queue->tx, idx, &txreq); in xenvif_tx_build_gops()
949 if (txreq.size > queue->remaining_credit && in xenvif_tx_build_gops()
950 tx_credit_exceeded(queue, txreq.size)) in xenvif_tx_build_gops()
953 queue->remaining_credit -= txreq.size; in xenvif_tx_build_gops()
960 if (txreq.flags & XEN_NETTXF_extra_info) { in xenvif_tx_build_gops()
975 make_tx_response(queue, &txreq, extra_count, in xenvif_tx_build_gops()
989 make_tx_response(queue, &txreq, extra_count, in xenvif_tx_build_gops()
995 data_len = (txreq.size > XEN_NETBACK_TX_COPY_LEN) ? in xenvif_tx_build_gops()
996 XEN_NETBACK_TX_COPY_LEN : txreq.size; in xenvif_tx_build_gops()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sdma.c496 tx->txreq.start_idx = 0; in complete_sdma_err_req()
497 tx->txreq.next_descq_idx = 0; in complete_sdma_err_req()
498 list_add_tail(&tx->txreq.list, &ppd->sdma_activelist); in complete_sdma_err_req()
534 if (tx->txreq.sg_count > qib_sdma_descq_freecnt(ppd)) { in qib_sdma_verbs_send()
544 make_sdma_desc(ppd, sdmadesc, (u64) tx->txreq.addr, dwoffset, 0); in qib_sdma_verbs_send()
547 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_USELARGEBUF) in qib_sdma_verbs_send()
563 tx->txreq.start_idx = tail; in qib_sdma_verbs_send()
580 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_USELARGEBUF) in qib_sdma_verbs_send()
601 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_HEADTOHOST) in qib_sdma_verbs_send()
603 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_INTREQ) in qib_sdma_verbs_send()
[all …]
Dqib_verbs.c575 tx = list_entry(l, struct qib_verbs_txreq, txreq.list); in __get_txreq()
604 tx = list_entry(l, struct qib_verbs_txreq, txreq.list); in get_txreq()
627 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_FREEBUF) { in qib_put_txreq()
628 tx->txreq.flags &= ~QIB_SDMA_TXREQ_F_FREEBUF; in qib_put_txreq()
630 tx->txreq.addr, tx->hdr_dwords << 2, in qib_put_txreq()
638 list_add(&tx->txreq.list, &dev->txreq_free); in qib_put_txreq()
686 if (qpp->s_tx->txreq.sg_count > avail) in qib_verbs_sdma_desc_avail()
688 avail -= qpp->s_tx->txreq.sg_count; in qib_verbs_sdma_desc_avail()
714 container_of(cookie, struct qib_verbs_txreq, txreq); in sdma_complete()
724 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_FREEBUF) in sdma_complete()
[all …]
Dqib.h248 struct qib_sdma_txreq txreq; member