Lines Matching defs:ena_ring
315 struct ena_ring { struct
317 union {
321 struct ena_com_dev *ena_dev;
322 struct ena_adapter *adapter;
323 struct ena_com_io_cq *ena_com_io_cq;
324 struct ena_com_io_sq *ena_com_io_sq;
326 uint16_t qid;
329 enum ena_admin_placement_policy_type tx_mem_queue_type;
330 union {
338 uint8_t first_interrupt;
339 uint8_t cleanup_running;
340 uint16_t no_interrupt_event_cnt;
342 struct ena_com_rx_buf_info ena_bufs[ENA_PKT_MAX_BUFS];
344 struct ena_que *que;
345 struct lro_ctrl lro;
347 uint16_t next_to_use;
348 uint16_t next_to_clean;
350 union {
354 int ring_size; /* number of tx/rx_buffer_info's entries */
356 struct buf_ring *br; /* only for TX */
357 uint32_t buf_ring_size;
359 struct mtx ring_mtx;
360 char mtx_name[16];
362 struct {
367 union {
372 union {
379 uint32_t acum_pkts;
382 uint8_t *push_buf_intermediate_buf;
384 int tx_last_cleanup_ticks;
387 bool initialized;