Lines Matching refs:ena_ring

60 static int ena_clean_xdp_irq(struct ena_ring *xdp_ring, u32 budget);
69 static void ena_unmask_interrupt(struct ena_ring *tx_ring,
70 struct ena_ring *rx_ring);
71 static void ena_update_ring_numa_node(struct ena_ring *tx_ring,
72 struct ena_ring *rx_ring);
73 static void ena_unmap_tx_buff(struct ena_ring *tx_ring,
87 static void ena_ring_tx_doorbell(struct ena_ring *tx_ring) in ena_ring_tx_doorbell()
137 struct ena_ring *ring, in ena_xmit_common()
194 struct ena_ring *xdp_ring; in ena_xdp_io_poll()
235 static int ena_xdp_tx_map_frame(struct ena_ring *xdp_ring, in ena_xdp_tx_map_frame()
291 static int ena_xdp_xmit_frame(struct ena_ring *xdp_ring, in ena_xdp_xmit_frame()
339 struct ena_ring *xdp_ring; in ena_xdp_xmit()
375 static int ena_xdp_execute(struct ena_ring *rx_ring, struct xdp_buff *xdp) in ena_xdp_execute()
378 struct ena_ring *xdp_ring; in ena_xdp_execute()
478 static int ena_xdp_register_rxq_info(struct ena_ring *rx_ring) in ena_xdp_register_rxq_info()
505 static void ena_xdp_unregister_rxq_info(struct ena_ring *rx_ring) in ena_xdp_unregister_rxq_info()
515 struct ena_ring *rx_ring; in ena_xdp_exchange_program_rx_in_range()
664 struct ena_ring *ring, u16 qid) in ena_init_io_rings_common()
683 struct ena_ring *txr, *rxr; in ena_init_io_rings()
732 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources()
798 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources()
866 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources()
923 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_resources()
973 static struct page *ena_alloc_map_page(struct ena_ring *rx_ring, in ena_alloc_map_page()
1003 static int ena_alloc_rx_buffer(struct ena_ring *rx_ring, in ena_alloc_rx_buffer()
1037 static void ena_unmap_rx_buff(struct ena_ring *rx_ring, in ena_unmap_rx_buff()
1047 static void ena_free_rx_page(struct ena_ring *rx_ring, in ena_free_rx_page()
1064 static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num) in ena_refill_rx_bufs()
1119 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_free_rx_bufs()
1135 struct ena_ring *rx_ring; in ena_refill_all_rx_bufs()
1158 static void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff()
1191 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
1223 struct ena_ring *tx_ring; in ena_free_all_tx_bufs()
1261 static int handle_invalid_req_id(struct ena_ring *ring, u16 req_id, in handle_invalid_req_id()
1283 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
1294 static int validate_xdp_req_id(struct ena_ring *xdp_ring, u16 req_id) in validate_xdp_req_id()
1305 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1396 static struct sk_buff *ena_alloc_skb(struct ena_ring *rx_ring, void *first_frag) in ena_alloc_skb()
1418 static struct sk_buff *ena_rx_skb(struct ena_ring *rx_ring, in ena_rx_skb()
1530 static void ena_rx_checksum(struct ena_ring *rx_ring, in ena_rx_checksum()
1587 static void ena_set_rx_hash(struct ena_ring *rx_ring, in ena_set_rx_hash()
1609 static int ena_xdp_handle_buff(struct ena_ring *rx_ring, struct xdp_buff *xdp) in ena_xdp_handle_buff()
1641 static int ena_clean_rx_irq(struct ena_ring *rx_ring, struct napi_struct *napi, in ena_clean_rx_irq()
1797 struct ena_ring *rx_ring = ena_napi->rx_ring; in ena_adjust_adaptive_rx_intr_moderation()
1814 static void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1815 struct ena_ring *rx_ring) in ena_unmask_interrupt()
1846 static void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
1847 struct ena_ring *rx_ring) in ena_update_ring_numa_node()
1875 static int ena_clean_xdp_irq(struct ena_ring *xdp_ring, u32 budget) in ena_clean_xdp_irq()
1941 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll()
2361 struct ena_ring *tx_ring; in ena_create_io_tx_queue()
2429 struct ena_ring *rx_ring; in ena_create_io_rx_queue()
2899 static int ena_check_and_linearize_skb(struct ena_ring *tx_ring, in ena_check_and_linearize_skb()
2925 static int ena_tx_map_skb(struct ena_ring *tx_ring, in ena_tx_map_skb()
3035 struct ena_ring *tx_ring; in ena_start_xmit()
3256 struct ena_ring *rx_ring, *tx_ring; in ena_get_stats64()
3679 struct ena_ring *rx_ring) in check_for_rx_interrupt_queue()
3704 struct ena_ring *tx_ring) in check_missing_comp_in_tx_queue()
3771 struct ena_ring *tx_ring; in check_for_missing_completions()
3772 struct ena_ring *rx_ring; in check_for_missing_completions()
3830 struct ena_ring *rx_ring; in check_for_empty_rx_ring()