Home
last modified time | relevance | path

Searched refs:ena_com_io_sq (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h54 int ena_com_prepare_tx(struct ena_com_io_sq *io_sq,
59 struct ena_com_io_sq *io_sq,
62 int ena_com_add_single_rx_desc(struct ena_com_io_sq *io_sq,
74 static inline int ena_com_free_q_entries(struct ena_com_io_sq *io_sq) in ena_com_free_q_entries()
86 static inline bool ena_com_sq_have_enough_space(struct ena_com_io_sq *io_sq, in ena_com_sq_have_enough_space()
104 static inline bool ena_com_meta_desc_changed(struct ena_com_io_sq *io_sq, in ena_com_meta_desc_changed()
115 static inline bool is_llq_max_tx_burst_exists(struct ena_com_io_sq *io_sq) in is_llq_max_tx_burst_exists()
121 static inline bool ena_com_is_doorbell_needed(struct ena_com_io_sq *io_sq, in ena_com_is_doorbell_needed()
152 static inline int ena_com_write_sq_doorbell(struct ena_com_io_sq *io_sq) in ena_com_write_sq_doorbell()
186 static inline void ena_com_comp_ack(struct ena_com_io_sq *io_sq, u16 elem) in ena_com_comp_ack()
H A Dena_eth_com.c35 static void *get_sq_desc_regular_queue(struct ena_com_io_sq *io_sq) in get_sq_desc_regular_queue()
47 static int ena_com_write_bounce_buffer_to_dev(struct ena_com_io_sq *io_sq, in ena_com_write_bounce_buffer_to_dev()
89 static int ena_com_write_header_to_bounce(struct ena_com_io_sq *io_sq, in ena_com_write_header_to_bounce()
120 static void *get_sq_desc_llq(struct ena_com_io_sq *io_sq) in get_sq_desc_llq()
140 static int ena_com_close_bounce_buffer(struct ena_com_io_sq *io_sq) in ena_com_close_bounce_buffer()
170 static void *get_sq_desc(struct ena_com_io_sq *io_sq) in get_sq_desc()
178 static int ena_com_sq_update_llq_tail(struct ena_com_io_sq *io_sq) in ena_com_sq_update_llq_tail()
209 static int ena_com_sq_update_tail(struct ena_com_io_sq *io_sq) in ena_com_sq_update_tail()
283 static int ena_com_create_meta(struct ena_com_io_sq *io_sq, in ena_com_create_meta()
329 static int ena_com_create_and_store_tx_meta_desc(struct ena_com_io_sq *io_sq, in ena_com_create_and_store_tx_meta_desc()
[all …]
H A Dena_com.h155 struct ena_com_io_sq { struct
355 struct ena_com_io_sq io_sq_queues[ENA_TOTAL_NUM_QUEUES];
543 struct ena_com_io_sq **io_sq,
1034 static inline struct ena_com_dev *ena_com_io_sq_to_ena_dev(struct ena_com_io_sq *io_sq) in ena_com_io_sq_to_ena_dev()
H A Dena_netdev.h240 struct ena_com_io_sq *ena_com_io_sq; member
443 ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq); in ena_ring_tx_doorbell()
H A Dena_netdev.c126 if (unlikely(ena_com_is_doorbell_needed(ring->ena_com_io_sq, in ena_xmit_common()
135 rc = ena_com_prepare_tx(ring->ena_com_io_sq, ena_tx_ctx, in ena_xmit_common()
590 rc = ena_com_add_single_rx_desc(rx_ring->ena_com_io_sq, in ena_refill_rx_bufs()
613 ena_com_write_sq_doorbell(rx_ring->ena_com_io_sq); in ena_refill_rx_bufs()
864 ena_com_comp_ack(tx_ring->ena_com_io_sq, total_done); in ena_clean_tx_irq()
877 above_thresh = ena_com_sq_have_enough_space(tx_ring->ena_com_io_sq, in ena_clean_tx_irq()
882 ena_com_sq_have_enough_space(tx_ring->ena_com_io_sq, in ena_clean_tx_irq()
1217 rx_ring->ena_com_io_sq, in ena_clean_rx_irq()
1304 refill_required = ena_com_free_q_entries(rx_ring->ena_com_io_sq); in ena_clean_rx_irq()
1922 &tx_ring->ena_com_io_sq, in ena_create_io_tx_queue()
[all …]
H A Dena_com.c318 struct ena_com_io_sq *io_sq) in ena_com_init_io_sq()
869 struct ena_com_io_sq *io_sq) in ena_com_destroy_io_sq()
904 struct ena_com_io_sq *io_sq, in ena_com_io_queue_free()
1174 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq()
1247 struct ena_com_io_sq *io_sq; in ena_com_ind_tbl_convert_to_device()
1386 struct ena_com_io_sq **io_sq, in ena_com_get_io_handlers()
2053 struct ena_com_io_sq *io_sq; in ena_com_create_io_queue()
2112 struct ena_com_io_sq *io_sq; in ena_com_destroy_io_queue()
H A Dena_xdp.c416 ena_com_comp_ack(tx_ring->ena_com_io_sq, total_done); in ena_clean_xdp_irq()