Home
last modified time | relevance | path

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

/dpdk/drivers/net/sfc/
H A Dsfc_dp.c23 sfc_dp_queue_init(struct sfc_dp_queue *dpq, uint16_t port_id, uint16_t queue_id, in sfc_dp_queue_init() argument
26 dpq->port_id = port_id; in sfc_dp_queue_init()
27 dpq->queue_id = queue_id; in sfc_dp_queue_init()
28 dpq->pci_addr = *pci_addr; in sfc_dp_queue_init()
H A Dsfc_tx.c1009 txq->dp.dpq.dbells++; in sfc_efx_xmit_pkts()
1025 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_dp_tx_by_dp_txq() local
1029 SFC_ASSERT(rte_eth_dev_is_valid_port(dpq->port_id)); in sfc_dp_tx_by_dp_txq()
1030 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_dp_tx_by_dp_txq()
1040 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_info_by_dp_txq() local
1045 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_txq_info_by_dp_txq()
1049 SFC_ASSERT(dpq->queue_id < sas->txq_count); in sfc_txq_info_by_dp_txq()
1050 return &sas->txq_info[dpq->queue_id]; in sfc_txq_info_by_dp_txq()
1056 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_by_dp_txq() local
1061 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_txq_by_dp_txq()
[all …]
H A Dsfc_dp.h61 void sfc_dp_queue_init(struct sfc_dp_queue *dpq,
74 #define SFC_DP_LOG(dp_name, level, dpq, ...) \ argument
76 const struct sfc_dp_queue *_dpq = (dpq); \
H A Dsfc_ef10_essb_rx.c32 #define sfc_ef10_essb_rx_err(dpq, ...) \ argument
33 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10_ESSB, ERR, dpq, __VA_ARGS__)
35 #define sfc_ef10_essb_rx_info(dpq, ...) \ argument
36 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10_ESSB, INFO, dpq, __VA_ARGS__)
224 &rxq->dp.dpq.dbells); in sfc_ef10_essb_rx_qrefill()
242 sfc_ef10_essb_rx_err(&rxq->dp.dpq, in sfc_ef10_essb_rx_event_get()
598 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_essb_rx_qcreate()
626 sfc_ef10_essb_rx_info(&rxq->dp.dpq, "RxQ doorbell is %p", in sfc_ef10_essb_rx_qcreate()
628 sfc_ef10_essb_rx_info(&rxq->dp.dpq, in sfc_ef10_essb_rx_qcreate()
631 sfc_ef10_essb_rx_info(&rxq->dp.dpq, in sfc_ef10_essb_rx_qcreate()
H A Dsfc_ef10_rx.c33 #define sfc_ef10_rx_err(dpq, ...) \ argument
34 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10, ERR, dpq, __VA_ARGS__)
36 #define sfc_ef10_rx_info(dpq, ...) \ argument
37 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10, INFO, dpq, __VA_ARGS__)
130 rte_eth_devices[rxq->dp.dpq.port_id].data; in sfc_ef10_rx_qrefill()
174 sfc_ef10_rx_qpush(rxq->doorbell, added, ptr_mask, &rxq->dp.dpq.dbells); in sfc_ef10_rx_qrefill()
424 sfc_ef10_rx_err(&rxq->dp.dpq, in sfc_ef10_rx_get_event()
664 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_rx_qcreate()
694 sfc_ef10_rx_info(&rxq->dp.dpq, "RxQ doorbell is %p", rxq->doorbell); in sfc_ef10_rx_qcreate()
H A Dsfc_rx.c91 uint16_t port_id = rxq->dp.dpq.port_id; in sfc_efx_rx_qrefill()
142 rxq->dp.dpq.dbells++; in sfc_efx_rx_qrefill()
417 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_dp_rx_by_dp_rxq() local
422 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_dp_rx_by_dp_rxq()
432 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_rxq_info_by_dp_rxq() local
437 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_rxq_info_by_dp_rxq()
441 SFC_ASSERT(dpq->queue_id < sas->rxq_count); in sfc_rxq_info_by_dp_rxq()
442 return &sas->rxq_info[dpq->queue_id]; in sfc_rxq_info_by_dp_rxq()
448 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_rxq_by_dp_rxq() local
453 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_rxq_by_dp_rxq()
[all …]
H A Dsfc_ef10_tx.c29 #define sfc_ef10_tx_err(dpq, ...) \ argument
30 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10, ERR, dpq, __VA_ARGS__)
32 #define sfc_ef10_tx_info(dpq, ...) \ argument
33 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF10, INFO, dpq, __VA_ARGS__)
110 sfc_ef10_tx_err(&txq->dp.dpq, in sfc_ef10_tx_get_event()
251 txq->dp.dpq.dbells++; in sfc_ef10_tx_qpush()
955 sfc_dp_queue_init(&txq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_tx_qcreate()
990 sfc_ef10_tx_info(&txq->dp.dpq, "TxQ doorbell is %p", txq->doorbell); in sfc_ef10_tx_qcreate()
H A Dsfc_ef100_rx.c34 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, ERR, &(_rxq)->dp.dpq, __VA_ARGS__)
37 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, DEBUG, &(_rxq)->dp.dpq, \
131 rxq->dp.dpq.dbells++; in sfc_ef100_rx_qpush()
162 rte_eth_devices[rxq->dp.dpq.port_id].data; in sfc_ef100_rx_qrefill()
583 sfc_pkts_bytes_add(&rxq->dp.dpq.stats, 1, in sfc_ef100_rx_process_ready_pkts()
776 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef100_rx_qcreate()
886 rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id, in sfc_ef100_rx_qstart()
H A Dsfc_ef100_tx.c31 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, ERR, &(_txq)->dp.dpq, __VA_ARGS__)
34 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, DEBUG, &(_txq)->dp.dpq, \
534 txq->dp.dpq.dbells++; in sfc_ef100_tx_qpush()
779 sfc_pkts_bytes_add(&txq->dp.dpq.stats, 1, in sfc_ef100_xmit_pkts()
855 sfc_dp_queue_init(&txq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef100_tx_qcreate()
H A Dsfc_ev.c115 evq->evq_index, rxq->dp.dpq.queue_id, in sfc_ev_efx_rx()
130 evq->evq_index, rxq->dp.dpq.queue_id, in sfc_ev_efx_rx()
587 rxq_sw_index = evq->dp_rxq->dpq.queue_id; in sfc_ev_qpoll()
603 txq_sw_index = evq->dp_txq->dpq.queue_id; in sfc_ev_qpoll()
674 evq->dp_rxq->dpq.queue_id); in sfc_ev_qstart()
H A Dsfc_sw_stats.c54 sfc_pkts_bytes_get(&rxq_info->dp->dpq.stats, &qstats); in sfc_sw_stat_get_rx_good_pkts_bytes()
77 sfc_pkts_bytes_get(&txq_info->dp->dpq.stats, &qstats); in sfc_sw_stat_get_tx_good_pkts_bytes()
98 rxq_info->dp->dpq.dbells : 0; in sfc_get_sw_stat_val_rx_dbells()
113 txq_info->dp->dpq.dbells : 0; in sfc_get_sw_stat_val_tx_dbells()
H A Dsfc_dp_rx.h29 struct sfc_dp_queue dpq; member
H A Dsfc_dp_tx.h30 struct sfc_dp_queue dpq; member
H A Dsfc_ethdev.c524 sw_index = dp_rxq->dpq.queue_id; in sfc_rx_queue_release()
578 sw_index = dp_txq->dpq.queue_id; in sfc_tx_queue_release()
607 sfc_pkts_bytes_get(&rxq_info->dp->dpq.stats, &qstats); in sfc_stats_get_dp_rx()
634 sfc_pkts_bytes_get(&txq_info->dp->dpq.stats, &qstats); in sfc_stats_get_dp_tx()