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

Function modern_set_queue_irq

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

Source from the content-addressed store, hash-verified

135}
136
137static uint16_t
138modern_set_queue_irq(struct virtio_crypto_hw *hw, struct virtqueue *vq,
139 uint16_t vec)
140{
141 rte_write16(vq->vq_queue_index, &hw->common_cfg->queue_select);
142 rte_write16(vec, &hw->common_cfg->queue_msix_vector);
143 return rte_read16(&hw->common_cfg->queue_msix_vector);
144}
145
146static uint16_t
147modern_get_queue_num(struct virtio_crypto_hw *hw, uint16_t queue_id)

Callers

nothing calls this directly

Calls 2

rte_write16Function · 0.50
rte_read16Function · 0.50

Tested by

no test coverage detected