Home
last modified time | relevance | path

Searched refs:vring_header_size (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_ivshmem_queue.c25 uint32_t *vring_header_size);
37 uint32_t vring_header_size; in eth_ivshmem_queue_init() local
38 int res = calc_vring_size(shmem_section_size, &vring_desc_len, &vring_header_size); in eth_ivshmem_queue_init()
45 q->vring_data_max_len = shmem_section_size - vring_header_size; in eth_ivshmem_queue_init()
46 q->vring_header_size = vring_header_size; in eth_ivshmem_queue_init()
88 memset(q->tx.shmem, 0, q->vring_header_size); in eth_ivshmem_queue_reset()
119 tx_desc->addr = q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff()
124 *data = (uint8_t *)q->tx.shmem + q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff()
178 uint64_t offset = desc->addr - q->vring_header_size; in eth_ivshmem_queue_rx()
187 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx()
[all …]
Deth_ivshmem_priv.h38 uint32_t vring_header_size; member
Deth_ivshmem.c314 dev_data->ivshmem_queue.vring_header_size, in eth_ivshmem_initialize()
/Zephyr-Core-3.5.0/tests/drivers/ethernet/eth_ivshmem_queue/src/
Dmain.c56 zassert_equal(q1.vring_header_size, VRING_HEADER_SIZE); in ZTEST()