Lines Matching refs:ena_ring

171 static void ena_tx_map_mbuf(struct ena_ring *tx_ring,
176 static int ena_xmit_mbuf(struct ena_ring *tx_ring, struct rte_mbuf *mbuf);
190 static struct rte_mbuf *ena_rx_mbuf(struct ena_ring *rx_ring,
199 static int ena_populate_rx_queue(struct ena_ring *rxq, unsigned int count);
212 static void ena_rx_queue_release_bufs(struct ena_ring *ring);
213 static void ena_tx_queue_release_bufs(struct ena_ring *ring);
216 static int ena_create_io_queue(struct rte_eth_dev *dev, struct ena_ring *ring);
217 static void ena_queue_stop(struct ena_ring *ring);
220 static int ena_queue_start(struct rte_eth_dev *dev, struct ena_ring *ring);
555 static inline void ena_rx_mbuf_prepare(struct ena_ring *rx_ring, in ena_rx_mbuf_prepare()
673 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
856 struct ena_ring *ring = dev->data->rx_queues[qid]; in ena_rx_queue_release()
876 struct ena_ring *ring = dev->data->tx_queues[qid]; in ena_tx_queue_release()
895 static void ena_rx_queue_release_bufs(struct ena_ring *ring) in ena_rx_queue_release_bufs()
908 static void ena_tx_queue_release_bufs(struct ena_ring *ring) in ena_tx_queue_release_bufs()
939 struct ena_ring *queues = NULL; in ena_queue_start_all()
1273 static int ena_create_io_queue(struct rte_eth_dev *dev, struct ena_ring *ring) in ena_create_io_queue()
1338 static void ena_queue_stop(struct ena_ring *ring) in ena_queue_stop()
1355 struct ena_ring *queues = NULL; in ena_queue_stop_all()
1371 static int ena_queue_start(struct rte_eth_dev *dev, struct ena_ring *ring) in ena_queue_start()
1415 struct ena_ring *txq = NULL; in ena_tx_queue_setup()
1518 struct ena_ring *rxq = NULL; in ena_rx_queue_setup()
1636 static int ena_populate_rx_queue(struct ena_ring *rxq, unsigned int count) in ena_populate_rx_queue()
1823 struct ena_ring *tx_ring) in check_for_tx_completion_in_queue()
1871 struct ena_ring *tx_ring; in check_for_tx_completions()
2345 struct ena_ring *ring = &adapter->tx_ring[i]; in ena_init_rings()
2358 struct ena_ring *ring = &adapter->rx_ring[i]; in ena_init_rings()
2493 static struct rte_mbuf *ena_rx_mbuf(struct ena_ring *rx_ring, in ena_rx_mbuf()
2590 struct ena_ring *rx_ring = (struct ena_ring *)(rx_queue); in eth_ena_recv_pkts()
2687 struct ena_ring *tx_ring = (struct ena_ring *)(tx_queue); in eth_ena_prep_pkts()
2859 static void ena_tx_map_mbuf(struct ena_ring *tx_ring, in ena_tx_map_mbuf()
2932 static int ena_xmit_mbuf(struct ena_ring *tx_ring, struct rte_mbuf *mbuf) in ena_xmit_mbuf()
3006 struct ena_ring *tx_ring = (struct ena_ring *)txp; in ena_tx_cleanup()
3065 struct ena_ring *tx_ring = (struct ena_ring *)(tx_queue); in eth_ena_xmit_pkts()
3571 struct ena_ring *rxq = &adapter->rx_ring[queue_id]; in ena_rx_queue_intr_set()