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

Function modern_del_queue

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

Source from the content-addressed store, hash-verified

191}
192
193static void
194modern_del_queue(struct virtio_crypto_hw *hw, struct virtqueue *vq)
195{
196 rte_write16(vq->vq_queue_index, &hw->common_cfg->queue_select);
197
198 io_write64_twopart(0, &hw->common_cfg->queue_desc_lo,
199 &hw->common_cfg->queue_desc_hi);
200 io_write64_twopart(0, &hw->common_cfg->queue_avail_lo,
201 &hw->common_cfg->queue_avail_hi);
202 io_write64_twopart(0, &hw->common_cfg->queue_used_lo,
203 &hw->common_cfg->queue_used_hi);
204
205 rte_write16(0, &hw->common_cfg->queue_enable);
206}
207
208static void
209modern_notify_queue(struct virtio_crypto_hw *hw __rte_unused,

Callers

nothing calls this directly

Calls 2

io_write64_twopartFunction · 0.70
rte_write16Function · 0.50

Tested by

no test coverage detected