MCPcopy Create free account
hub / github.com/F-Stack/f-stack / modern_get_queue_num

Function modern_get_queue_num

dpdk/drivers/crypto/virtio/virtio_pci.c:146–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146static uint16_t
147modern_get_queue_num(struct virtio_crypto_hw *hw, uint16_t queue_id)
148{
149 rte_write16(queue_id, &hw->common_cfg->queue_select);
150 return rte_read16(&hw->common_cfg->queue_size);
151}
152
153static int
154modern_setup_queue(struct virtio_crypto_hw *hw, struct virtqueue *vq)

Callers

nothing calls this directly

Calls 2

rte_write16Function · 0.50
rte_read16Function · 0.50

Tested by

no test coverage detected