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

Function modern_write_dev_config

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

Source from the content-addressed store, hash-verified

66}
67
68static void
69modern_write_dev_config(struct virtio_crypto_hw *hw, size_t offset,
70 const void *src, int length)
71{
72 int i;
73 const uint8_t *p = src;
74
75 for (i = 0; i < length; i++)
76 rte_write8((*p++), (((uint8_t *)hw->dev_cfg) + offset + i));
77}
78
79static uint64_t
80modern_get_features(struct virtio_crypto_hw *hw)

Callers

nothing calls this directly

Calls 1

rte_write8Function · 0.50

Tested by

no test coverage detected