Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h56 int ena_com_prepare_tx(struct ena_com_io_sq *io_sq,
61 struct ena_com_io_sq *io_sq,
64 int ena_com_add_single_rx_desc(struct ena_com_io_sq *io_sq,
76 static inline int ena_com_free_q_entries(struct ena_com_io_sq *io_sq) in ena_com_free_q_entries()
88 static inline bool ena_com_sq_have_enough_space(struct ena_com_io_sq *io_sq, in ena_com_sq_have_enough_space()
106 static inline bool ena_com_meta_desc_changed(struct ena_com_io_sq *io_sq, in ena_com_meta_desc_changed()
117 static inline bool is_llq_max_tx_burst_exists(struct ena_com_io_sq *io_sq) in is_llq_max_tx_burst_exists()
123 static inline bool ena_com_is_doorbell_needed(struct ena_com_io_sq *io_sq, in ena_com_is_doorbell_needed()
154 static inline int ena_com_write_sq_doorbell(struct ena_com_io_sq *io_sq) in ena_com_write_sq_doorbell()
210 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()
270 static int ena_com_create_meta(struct ena_com_io_sq *io_sq, in ena_com_create_meta()
316 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.h157 struct ena_com_io_sq { struct
302 struct ena_com_io_sq io_sq_queues[ENA_TOTAL_NUM_QUEUES];
453 struct ena_com_io_sq **io_sq,
941 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.h233 struct ena_com_io_sq *ena_com_io_sq; member
424 ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq); in ena_ring_tx_doorbell()
H A Dena_netdev.c100 if (unlikely(ena_com_is_doorbell_needed(ring->ena_com_io_sq, in ena_xmit_common()
109 rc = ena_com_prepare_tx(ring->ena_com_io_sq, ena_tx_ctx, in ena_xmit_common()
587 rc = ena_com_add_single_rx_desc(rx_ring->ena_com_io_sq, in ena_refill_rx_bufs()
610 ena_com_write_sq_doorbell(rx_ring->ena_com_io_sq); in ena_refill_rx_bufs()
860 ena_com_comp_ack(tx_ring->ena_com_io_sq, total_done); in ena_clean_tx_irq()
874 above_thresh = ena_com_sq_have_enough_space(tx_ring->ena_com_io_sq, in ena_clean_tx_irq()
879 ena_com_sq_have_enough_space(tx_ring->ena_com_io_sq, in ena_clean_tx_irq()
1214 rx_ring->ena_com_io_sq, in ena_clean_rx_irq()
1301 refill_required = ena_com_free_q_entries(rx_ring->ena_com_io_sq); in ena_clean_rx_irq()
1882 &tx_ring->ena_com_io_sq, in ena_create_io_tx_queue()
[all …]
H A Dena_com.c312 struct ena_com_io_sq *io_sq) in ena_com_init_io_sq()
872 struct ena_com_io_sq *io_sq) in ena_com_destroy_io_sq()
907 struct ena_com_io_sq *io_sq, in ena_com_io_queue_free()
1177 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq()
1253 struct ena_com_io_sq *io_sq; in ena_com_ind_tbl_convert_to_device()
1397 struct ena_com_io_sq **io_sq, in ena_com_get_io_handlers()
1809 struct ena_com_io_sq *io_sq; in ena_com_create_io_queue()
1868 struct ena_com_io_sq *io_sq; in ena_com_destroy_io_queue()
H A Dena_xdp.c410 ena_com_comp_ack(tx_ring->ena_com_io_sq, total_done); in ena_clean_xdp_irq()