HomeSort by: relevance | last modified time | path
    Searched refs:io_sq (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/external/bsd/ena-com/
ena_eth_com.h 81 int ena_com_prepare_tx(struct ena_com_io_sq *io_sq,
86 struct ena_com_io_sq *io_sq,
89 int ena_com_add_single_rx_desc(struct ena_com_io_sq *io_sq,
101 static inline int ena_com_free_desc(struct ena_com_io_sq *io_sq)
105 next_to_comp = io_sq->next_to_comp;
106 tail = io_sq->tail;
109 return io_sq->q_depth - 1 - cnt;
113 static inline bool ena_com_sq_have_enough_space(struct ena_com_io_sq *io_sq,
118 if (io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)
119 return ena_com_free_desc(io_sq) >= required_buffers
    [all...]
ena_eth_com.c 67 static inline void *get_sq_desc_regular_queue(struct ena_com_io_sq *io_sq)
72 tail_masked = io_sq->tail & (io_sq->q_depth - 1);
74 offset = tail_masked * io_sq->desc_entry_size;
76 return (void *)((uintptr_t)io_sq->desc_addr.virt_addr + offset);
79 static inline void ena_com_write_bounce_buffer_to_dev(struct ena_com_io_sq *io_sq,
82 struct ena_com_llq_info *llq_info = &io_sq->llq_info;
87 dst_tail_mask = io_sq->tail & (io_sq->q_depth - 1);
96 ENA_MEMCPY_TO_DEVICE_64(io_sq->desc_addr.pbuf_dev_addr + dst_offset
    [all...]
ena_com.c 344 struct ena_com_io_sq *io_sq)
349 memset(&io_sq->desc_addr, 0x0, sizeof(io_sq->desc_addr));
351 io_sq->desc_entry_size =
352 (io_sq->direction == ENA_COM_IO_QUEUE_DIRECTION_TX) ?
356 size = io_sq->desc_entry_size * io_sq->q_depth;
357 io_sq->bus = ena_dev->bus;
359 if (io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST) {
362 io_sq->desc_addr.virt_addr
1179 struct ena_com_io_sq *io_sq; local in function:ena_com_ind_tbl_convert_to_device
1786 struct ena_com_io_sq *io_sq; local in function:ena_com_create_io_queue
1846 struct ena_com_io_sq *io_sq; local in function:ena_com_destroy_io_queue
    [all...]
ena_com.h 488 * @io_sq - IO submission queue handler
494 struct ena_com_io_sq **io_sq,
  /src/sys/dev/pci/
if_ena.c 1691 struct ena_com_io_sq* io_sq; local in function:ena_rx_cleanup
1707 io_sq = &adapter->ena_dev->io_sq_queues[ena_qid];
1716 rc = ena_com_rx_pkt(io_cq, io_sq, &ena_rx_ctx);
1795 refill_required = ena_com_free_desc(io_sq);
2800 struct ena_com_io_sq* io_sq; local in function:ena_xmit_mbuf
2814 io_sq = &ena_dev->io_sq_queues[ena_qid];
2876 rc = ena_com_prepare_tx(io_sq, &ena_tx_ctx, &nb_hw_desc);
2917 struct ena_com_io_sq* io_sq; local in function:ena_start_xmit
2933 io_sq = &adapter->ena_dev->io_sq_queues[ena_qid];
2938 if (unlikely(!ena_com_sq_have_enough_space(io_sq, adapter->max_tx_sgl_size))
    [all...]

Completed in 44 milliseconds