| 91 | } |
| 92 | |
| 93 | static void |
| 94 | modern_set_features(struct virtio_crypto_hw *hw, uint64_t features) |
| 95 | { |
| 96 | rte_write32(0, &hw->common_cfg->guest_feature_select); |
| 97 | rte_write32(features & ((1ULL << 32) - 1), |
| 98 | &hw->common_cfg->guest_feature); |
| 99 | |
| 100 | rte_write32(1, &hw->common_cfg->guest_feature_select); |
| 101 | rte_write32(features >> 32, |
| 102 | &hw->common_cfg->guest_feature); |
| 103 | } |
| 104 | |
| 105 | static uint8_t |
| 106 | modern_get_status(struct virtio_crypto_hw *hw) |
nothing calls this directly
no test coverage detected