Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_dp.c20 sfc_dp_queue_init(struct sfc_dp_queue *dpq, uint16_t port_id, uint16_t queue_id, in sfc_dp_queue_init() argument
23 dpq->port_id = port_id; in sfc_dp_queue_init()
24 dpq->queue_id = queue_id; in sfc_dp_queue_init()
25 dpq->pci_addr = *pci_addr; in sfc_dp_queue_init()
H A Dsfc_dp.h50 void sfc_dp_queue_init(struct sfc_dp_queue *dpq,
63 #define SFC_DP_LOG(dp_name, level, dpq, ...) \ argument
65 const struct sfc_dp_queue *_dpq = (dpq); \
H A Dsfc_tx.c927 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_dp_tx_by_dp_txq() local
931 SFC_ASSERT(rte_eth_dev_is_valid_port(dpq->port_id)); in sfc_dp_tx_by_dp_txq()
932 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_dp_tx_by_dp_txq()
942 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_info_by_dp_txq() local
946 SFC_ASSERT(rte_eth_dev_is_valid_port(dpq->port_id)); in sfc_txq_info_by_dp_txq()
947 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_txq_info_by_dp_txq()
951 SFC_ASSERT(dpq->queue_id < sas->txq_count); in sfc_txq_info_by_dp_txq()
952 return &sas->txq_info[dpq->queue_id]; in sfc_txq_info_by_dp_txq()
958 const struct sfc_dp_queue *dpq = &dp_txq->dpq; in sfc_txq_by_dp_txq() local
963 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_txq_by_dp_txq()
[all …]
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__)
241 sfc_ef10_essb_rx_err(&rxq->dp.dpq, in sfc_ef10_essb_rx_event_get()
593 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_essb_rx_qcreate()
621 sfc_ef10_essb_rx_info(&rxq->dp.dpq, "RxQ doorbell is %p", in sfc_ef10_essb_rx_qcreate()
623 sfc_ef10_essb_rx_info(&rxq->dp.dpq, in sfc_ef10_essb_rx_qcreate()
626 sfc_ef10_essb_rx_info(&rxq->dp.dpq, in sfc_ef10_essb_rx_qcreate()
H A Dsfc_rx.c80 uint16_t port_id = rxq->dp.dpq.port_id; in sfc_efx_rx_qrefill()
405 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_dp_rx_by_dp_rxq() local
409 SFC_ASSERT(rte_eth_dev_is_valid_port(dpq->port_id)); in sfc_dp_rx_by_dp_rxq()
410 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_dp_rx_by_dp_rxq()
420 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_rxq_info_by_dp_rxq() local
425 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_rxq_info_by_dp_rxq()
429 SFC_ASSERT(dpq->queue_id < sas->rxq_count); in sfc_rxq_info_by_dp_rxq()
430 return &sas->rxq_info[dpq->queue_id]; in sfc_rxq_info_by_dp_rxq()
436 const struct sfc_dp_queue *dpq = &dp_rxq->dpq; in sfc_rxq_by_dp_rxq() local
441 eth_dev = &rte_eth_devices[dpq->port_id]; in sfc_rxq_by_dp_rxq()
[all …]
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()
424 sfc_ef10_rx_err(&rxq->dp.dpq, in sfc_ef10_rx_get_event()
660 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_rx_qcreate()
690 sfc_ef10_rx_info(&rxq->dp.dpq, "RxQ doorbell is %p", rxq->doorbell); in sfc_ef10_rx_qcreate()
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()
931 sfc_dp_queue_init(&txq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef10_tx_qcreate()
966 sfc_ef10_tx_info(&txq->dp.dpq, "TxQ doorbell is %p", txq->doorbell); in sfc_ef10_tx_qcreate()
H A Dsfc_ef100_rx.c31 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, ERR, &(_rxq)->dp.dpq, __VA_ARGS__)
34 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, DEBUG, &(_rxq)->dp.dpq, \
150 rte_eth_devices[rxq->dp.dpq.port_id].data; in sfc_ef100_rx_qrefill()
713 sfc_dp_queue_init(&rxq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef100_rx_qcreate()
804 rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id, in sfc_ef100_rx_qstart()
H A Dsfc_dp_rx.h28 struct sfc_dp_queue dpq; member
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()
H A Dsfc_dp_tx.h29 struct sfc_dp_queue dpq; member
H A Dsfc_ef100_tx.c29 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, ERR, &(_txq)->dp.dpq, __VA_ARGS__)
32 SFC_DP_LOG(SFC_KVARG_DATAPATH_EF100, DEBUG, &(_txq)->dp.dpq, \
783 sfc_dp_queue_init(&txq->dp.dpq, port_id, queue_id, pci_addr); in sfc_ef100_tx_qcreate()
H A Dsfc_ethdev.c520 sw_index = dp_rxq->dpq.queue_id; in sfc_rx_queue_release()
570 sw_index = dp_txq->dpq.queue_id; in sfc_tx_queue_release()