| 66 | } |
| 67 | |
| 68 | static void |
| 69 | modern_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 | |
| 79 | static uint64_t |
| 80 | modern_get_features(struct virtio_crypto_hw *hw) |
nothing calls this directly
no test coverage detected