Home
last modified time | relevance | path

Searched refs:dp_txq (Results 1 – 10 of 10) sorted by relevance

/dpdk/drivers/net/sfc/
H A Dsfc_ev.c234 struct sfc_dp_txq *dp_txq; in sfc_ev_tx() local
239 dp_txq = evq->dp_txq; in sfc_ev_tx()
240 SFC_ASSERT(dp_txq != NULL); in sfc_ev_tx()
263 struct sfc_dp_txq *dp_txq; in sfc_ev_dp_tx() local
265 dp_txq = evq->dp_txq; in sfc_ev_dp_tx()
266 SFC_ASSERT(dp_txq != NULL); in sfc_ev_dp_tx()
287 struct sfc_dp_txq *dp_txq; in sfc_ev_dp_tx_ndescs() local
289 dp_txq = evq->dp_txq; in sfc_ev_dp_tx_ndescs()
290 SFC_ASSERT(dp_txq != NULL); in sfc_ev_dp_tx_ndescs()
398 struct sfc_dp_txq *dp_txq; in sfc_ev_txq_flush_done() local
[all …]
H A Dsfc_dp_tx.h134 typedef void (sfc_dp_tx_qdestroy_t)(struct sfc_dp_txq *dp_txq);
141 typedef int (sfc_dp_tx_qstart_t)(struct sfc_dp_txq *dp_txq,
150 typedef void (sfc_dp_tx_qstop_t)(struct sfc_dp_txq *dp_txq,
156 typedef bool (sfc_dp_tx_qtx_ev_t)(struct sfc_dp_txq *dp_txq, unsigned int id);
161 typedef void (sfc_dp_tx_qreap_t)(struct sfc_dp_txq *dp_txq);
166 typedef int (sfc_dp_tx_qdesc_status_t)(struct sfc_dp_txq *dp_txq,
216 const struct sfc_dp_tx *sfc_dp_tx_by_dp_txq(const struct sfc_dp_txq *dp_txq);
H A Dsfc_tx.c237 evq->dp_txq = txq_info->dp; in sfc_tx_qinit()
817 struct sfc_dp_txq *dp_txq = tx_queue; in sfc_efx_prepare_pkts() local
1023 sfc_dp_tx_by_dp_txq(const struct sfc_dp_txq *dp_txq) in sfc_dp_tx_by_dp_txq() argument
1025 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_dp_tx_by_dp_txq()
1040 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_info_by_dp_txq()
1054 sfc_txq_by_dp_txq(const struct sfc_dp_txq *dp_txq) in sfc_txq_by_dp_txq() argument
1056 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_by_dp_txq()
1156 sfc_efx_tx_qdestroy(struct sfc_dp_txq *dp_txq) in sfc_efx_tx_qdestroy() argument
1168 sfc_efx_tx_qstart(struct sfc_dp_txq *dp_txq, in sfc_efx_tx_qstart() argument
1188 sfc_efx_tx_qstop(struct sfc_dp_txq *dp_txq, in sfc_efx_tx_qstop() argument
[all …]
H A Dsfc_tx.h60 struct sfc_txq *sfc_txq_by_dp_txq(const struct sfc_dp_txq *dp_txq);
91 sfc_efx_txq_by_dp_txq(struct sfc_dp_txq *dp_txq) in sfc_efx_txq_by_dp_txq() argument
93 return container_of(dp_txq, struct sfc_efx_txq, dp); in sfc_efx_txq_by_dp_txq()
106 struct sfc_txq_info *sfc_txq_info_by_dp_txq(const struct sfc_dp_txq *dp_txq);
H A Dsfc_ef10_tx.c81 sfc_ef10_txq_by_dp_txq(struct sfc_dp_txq *dp_txq) in sfc_ef10_txq_by_dp_txq() argument
83 return container_of(dp_txq, struct sfc_ef10_txq, dp); in sfc_ef10_txq_by_dp_txq()
1009 sfc_ef10_tx_qdestroy(struct sfc_dp_txq *dp_txq) in sfc_ef10_tx_qdestroy() argument
1011 struct sfc_ef10_txq *txq = sfc_ef10_txq_by_dp_txq(dp_txq); in sfc_ef10_tx_qdestroy()
1020 sfc_ef10_tx_qstart(struct sfc_dp_txq *dp_txq, unsigned int evq_read_ptr, in sfc_ef10_tx_qstart() argument
1023 struct sfc_ef10_txq *txq = sfc_ef10_txq_by_dp_txq(dp_txq); in sfc_ef10_tx_qstart()
1038 struct sfc_ef10_txq *txq = sfc_ef10_txq_by_dp_txq(dp_txq); in sfc_ef10_tx_qstop()
1063 sfc_ef10_tx_qreap(struct sfc_dp_txq *dp_txq) in sfc_ef10_tx_qreap() argument
1065 struct sfc_ef10_txq *txq = sfc_ef10_txq_by_dp_txq(dp_txq); in sfc_ef10_tx_qreap()
1108 sfc_ef10_tx_qdesc_status(struct sfc_dp_txq *dp_txq, in sfc_ef10_tx_qdesc_status() argument
[all …]
H A Dsfc_ef100_tx.c97 sfc_ef100_txq_by_dp_txq(struct sfc_dp_txq *dp_txq) in sfc_ef100_txq_by_dp_txq() argument
99 return container_of(dp_txq, struct sfc_ef100_txq, dp); in sfc_ef100_txq_by_dp_txq()
902 sfc_ef100_tx_qdestroy(struct sfc_dp_txq *dp_txq) in sfc_ef100_tx_qdestroy() argument
904 struct sfc_ef100_txq *txq = sfc_ef100_txq_by_dp_txq(dp_txq); in sfc_ef100_tx_qdestroy()
915 struct sfc_ef100_txq *txq = sfc_ef100_txq_by_dp_txq(dp_txq); in sfc_ef100_tx_qstart()
930 struct sfc_ef100_txq *txq = sfc_ef100_txq_by_dp_txq(dp_txq); in sfc_ef100_tx_qstop()
941 struct sfc_ef100_txq *txq = sfc_ef100_txq_by_dp_txq(dp_txq); in sfc_ef100_tx_qtx_ev()
952 sfc_ef100_tx_qreap(struct sfc_dp_txq *dp_txq) in sfc_ef100_tx_qreap() argument
954 struct sfc_ef100_txq *txq = sfc_ef100_txq_by_dp_txq(dp_txq); in sfc_ef100_tx_qreap()
996 sfc_ef100_tx_qdesc_status(struct sfc_dp_txq *dp_txq, uint16_t offset) in sfc_ef100_tx_qdesc_status() argument
[all …]
H A Dsfc_repr_proxy.c314 sfc_repr_proxy_handle_tx(&rp->dp_txq[i], &port->txq[i]); in sfc_repr_proxy_routine()
327 struct sfc_repr_proxy_dp_txq *dp_txq; in sfc_repr_proxy_txq_info_get() local
330 dp_txq = &sa->repr_proxy.dp_txq[repr_queue_id]; in sfc_repr_proxy_txq_info_get()
332 return &sas->txq_info[dp_txq->sw_index]; in sfc_repr_proxy_txq_info_get()
347 rp->dp_txq[i].sw_index = sw_index; in sfc_repr_proxy_txq_attach()
365 rp->dp_txq[i].sw_index = 0; in sfc_repr_proxy_txq_detach()
391 struct sfc_repr_proxy_dp_txq *txq = &rp->dp_txq[init_i]; in sfc_repr_proxy_txq_init()
420 struct sfc_repr_proxy_dp_txq *txq = &rp->dp_txq[i]; in sfc_repr_proxy_txq_init()
447 struct sfc_repr_proxy_dp_txq *txq = &rp->dp_txq[i]; in sfc_repr_proxy_txq_fini()
473 struct sfc_repr_proxy_dp_txq *txq = &rp->dp_txq[i]; in sfc_repr_proxy_txq_start()
H A Dsfc_repr_proxy.h126 struct sfc_repr_proxy_dp_txq dp_txq[SFC_REPR_PROXY_NB_TXQ_MAX]; member
H A Dsfc_ev.h53 struct sfc_dp_txq *dp_txq; member
H A Dsfc_ethdev.c569 struct sfc_dp_txq *dp_txq = dev->data->tx_queues[qid]; in sfc_tx_queue_release() local
574 if (dp_txq == NULL) in sfc_tx_queue_release()
577 txq = sfc_txq_by_dp_txq(dp_txq); in sfc_tx_queue_release()
578 sw_index = dp_txq->dpq.queue_id; in sfc_tx_queue_release()
1384 struct sfc_dp_txq *dp_txq = queue; in sfc_tx_descriptor_status() local
1387 dp_tx = sfc_dp_tx_by_dp_txq(dp_txq); in sfc_tx_descriptor_status()
1389 return dp_tx->qdesc_status(dp_txq, offset); in sfc_tx_descriptor_status()